adjustments to catch-up mode

This commit is contained in:
muskit
2022-11-22 01:44:59 -08:00
parent 1aa6a99285
commit a604d481e8
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ async def get_cross_talent_tweets():
async def process_queue() -> bool:
global PROGRAM_ARGS
global errored
WAIT_TIME = 30
WAIT_TIME = 60*3
ttweets_posted = 0
errored = False
+3 -1
View File
@@ -219,7 +219,9 @@ class TwAPI:
'mentioning '
f'{" ".join(mention_usernames)}\n'
)
ret += f'\n{util.ttweet_to_url(ttweet)}'
ret += '\n'
ret += '(this is a misssed tweet)\n' if is_catchup else ''
ret += f'{util.ttweet_to_url(ttweet)}'
return ret
text = create_text()