5 seconds pause between toots

This commit is contained in:
jeancf 2023-07-14 11:12:30 +02:00
parent d7bfab4cd3
commit b10a8392c8

View File

@ -1234,6 +1234,8 @@ def main(argv):
else:
posted_cnt += 1
logging.debug('Tweet %s posted on %s', tweet['tweet_id'], TOML['config']['mastodon_user'])
# Test to find out if slowing down successive posting helps with ordering of threads
time.sleep(5)
# Insert toot id into database
if 'id' in toot: