From a604d481e80e188712e474f6ea12bcd0c364109b Mon Sep 17 00:00:00 2001 From: muskit <15199219+muskit@users.noreply.github.com> Date: Tue, 22 Nov 2022 01:44:59 -0800 Subject: [PATCH] adjustments to catch-up mode --- src/catchup.py | 2 +- src/twapi.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/catchup.py b/src/catchup.py index 8971c19..bb44fe3 100644 --- a/src/catchup.py +++ b/src/catchup.py @@ -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 diff --git a/src/twapi.py b/src/twapi.py index 890695f..776897d 100644 --- a/src/twapi.py +++ b/src/twapi.py @@ -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()