adjustments to catch-up mode
This commit is contained in:
+1
-1
@@ -90,7 +90,7 @@ async def get_cross_talent_tweets():
|
|||||||
async def process_queue() -> bool:
|
async def process_queue() -> bool:
|
||||||
global PROGRAM_ARGS
|
global PROGRAM_ARGS
|
||||||
global errored
|
global errored
|
||||||
WAIT_TIME = 30
|
WAIT_TIME = 60*3
|
||||||
ttweets_posted = 0
|
ttweets_posted = 0
|
||||||
errored = False
|
errored = False
|
||||||
|
|
||||||
|
|||||||
+3
-1
@@ -219,7 +219,9 @@ class TwAPI:
|
|||||||
'mentioning '
|
'mentioning '
|
||||||
f'{" ".join(mention_usernames)}\n'
|
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
|
return ret
|
||||||
|
|
||||||
text = create_text()
|
text = create_text()
|
||||||
|
|||||||
Reference in New Issue
Block a user