mirror of
https://gitlab.com/jeancf/twoot.git
synced 2025-04-26 06:33:35 +00:00
5 seconds pause between toots
This commit is contained in:
parent
d7bfab4cd3
commit
b10a8392c8
2
twoot.py
2
twoot.py
@ -1234,6 +1234,8 @@ def main(argv):
|
|||||||
else:
|
else:
|
||||||
posted_cnt += 1
|
posted_cnt += 1
|
||||||
logging.debug('Tweet %s posted on %s', tweet['tweet_id'], TOML['config']['mastodon_user'])
|
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
|
# Insert toot id into database
|
||||||
if 'id' in toot:
|
if 'id' in toot:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user