1
0
mirror of https://github.com/hughrun/ephemetoot synced 2025-01-10 13:02:36 +01:00
Commit Graph

8 Commits

Author SHA1 Message Date
Hugh Rundle
9844486601 Amend rate-limit code and add more exception checking
The commit explicitly sets ratelimit_method to "wait" when initiating Mastodon (though this is the default anyway).
This setting allows mastodon.py to handle rate limits for us instead of having to put logic in ephemetoot to deal with it.

Also added some exception/error checking within the toot checking loop, allowing a second attempt for Mastodon API errors, adding a break after a KeyboardInterupt (Ctrl + C), and printing the errors in some cases to help with debugging.

Finally, there is now a 2 second delay between delete calls, just to be a bit nicer to the endpoint server.
2019-05-12 15:34:15 +10:00
Hugh Rundle
9faf31612c updated README 2019-05-10 10:09:41 +10:00
Hugh Rundle
357455126c update copyright and README 2019-03-08 16:16:00 +11:00
Hugh Rundle
3af1296b83 minor typo in readme 2018-12-25 08:29:05 +11:00
Hugh Rundle
8004ce3b0c improved description in README and fixed typos 2018-12-25 08:27:19 +11:00
Hugh Rundle
00fbbff33b fixed typo in README 2018-12-24 15:40:58 +11:00
Hugh Rundle
cf670ea79e updated README 2018-12-24 15:35:55 +11:00
Hugh Rundle
483abc9041 first commit 2018-12-24 15:30:56 +11:00