diff --git a/src/catchup.py b/src/catchup.py index be70804..29ffc80 100644 --- a/src/catchup.py +++ b/src/catchup.py @@ -59,7 +59,7 @@ async def get_cross_tweets_online(): print(f"Queue has {queue.get_count()} tweets so far") except KeyboardInterrupt as e: print( - "Interrupting tweet pulling... NOTE: remaining dates in queue file will not be updated!" + "Interrupting tweet pulling. The remaining dates in queue file will not be updated!" ) queue.save_file() raise e diff --git a/src/listen.py b/src/listen.py index 9df17fb..202a21e 100644 --- a/src/listen.py +++ b/src/listen.py @@ -11,9 +11,9 @@ def run(PROGRAM_ARGS): while True: try: asyncio.run(catchup.run(PROGRAM_ARGS)) - print('Sleeping for 60 minutes...') - sleep(60*60) # run every hour + print("Sleeping for 60 minutes...") + sleep(60 * 30) # run every half-hour except KeyboardInterrupt: - print('Interrupt signal received. Exiting listen mode.') - print(f'errors encountered throughout session.') + print("Interrupt signal received. Exiting listen mode.") + print(f"errors encountered throughout session.") break