1
0
Fork 0
Commit Graph

9 Commits (8a2e72b5cf6d443401276f54d731d9351ed286df)

Author SHA1 Message Date
voussoir 8a2e72b5cf Use requests.Session. 2020-11-09 08:34:11 +01:00
voussoir 1c3fa864e9 Add decorator ctrlc_commit to take care of this try-except. 2020-11-06 23:29:54 -08:00
voussoir 955e1e3e0a Add note about update_items overwriting properties. 2020-11-06 23:08:08 -08:00
voussoir 1a889a62ef Add readme. 2020-11-05 13:33:33 -08:00
voussoir 02ce43bdfe Use voussoirkit.vlogging to take care of LOUD and setLevel. 2020-11-02 23:19:24 -08:00
voussoir 9817b4b3b4 Fix livestream getting stuck on deleted posts. 2020-10-30 18:42:23 -07:00
voussoir 8e5f50323d Add 2s timeout to get requests.
The hn api usually returns in less than 0.25 seconds, but occasionally
I'm getting huge latency spikes. A quick timeout and retry solves that
for me.

If you are using this tool with a very high baseline ping, 2s may be
too aggressive.
2020-10-27 22:28:42 -07:00
voussoir e0862f9e44 Order by id instead of time because timestamps may be nonmonotonic.
Probably a result of moderator actions, I found that items with a lower
id could have a higher timestamp, enough to offset it by 2,000 ids.
2020-10-27 22:27:10 -07:00
voussoir eff67f845d Initial commit. 2020-10-25 19:42:48 -07:00