Commit graph

33 commits

Author SHA1 Message Date
Zed
4ffe7d7665 Fix compilation with Nim 1.4.8 2022-01-23 14:47:13 +01:00
Zed
f58824cb35 Add URL to request errors 2022-01-23 08:38:38 +01:00
Zed
79b98a8081 Simplify bad http client pruning 2022-01-23 07:23:09 +01:00
Zed
cdb4efadfe Temporary fix to Twitter's global timeline error 2022-01-21 09:17:18 +01:00
Zed
e0b141daf9 Small optimization for photo rail request size 2022-01-17 03:21:38 +01:00
Zed
fff04de24b Simplify new error handling 2022-01-16 18:28:40 +01:00
Zed
cdf49dcddd Add experimental user parser 2022-01-16 06:01:13 +01:00
Zed
ffcac982d0 Style fixes 2022-01-06 03:57:14 +01:00
Zed
34964f9e56 Track pending token requests to limit concurrency 2022-01-05 23:52:45 +01:00
Zed
dd71e60f35 Track token rate limits per endpoint 2022-01-05 22:48:45 +01:00
Zed
74c4377198 More cleanup 2022-01-02 11:21:03 +01:00
Zed
ddc2be8439 Make gzip handling more robust 2021-12-30 01:39:00 +01:00
Zed
c09a8d87d9 Attempt to fix occasional cursor error 2021-12-28 08:18:44 +01:00
Zed
99d3c46af5 Improve API error handling 2021-12-28 05:41:41 +01:00
Zed
6bcbe0ea9f Handle decompression errors 2021-12-28 05:13:47 +01:00
Zed
73b5b60ac3 Add license headers
Closes #413
2021-12-27 02:37:38 +01:00
Zed
3da6c50cb8 Use gzip for API calls to lower bandwidth and RAM 2021-12-26 06:49:27 +01:00
Zed
5b185c79de Improve token management logic 2021-12-20 04:19:11 +01:00
Zed
df9f90f99c Fix http pool usage to prevent rate limit error 2021-07-18 03:36:27 +02:00
Zed
4a38b270af Don't release empty tokens 2021-01-25 11:07:29 +01:00
Zed
67142bea6a Don't discard tokens on length errors 2021-01-25 11:04:36 +01:00
Zed
67e15bb492 Temporary (?) fix for false rate limits 2021-01-18 07:57:39 +01:00
Zed
51b1567af6 Improve token pool to prevent rate limits 2021-01-13 14:32:26 +01:00
Zed
4e1d213488 Show error page when rate limited 2021-01-07 22:31:29 +01:00
Zed
3bd0488c66 Add http pool to reduce connection overhead 2020-11-07 21:31:03 +01:00
Zed
514d1b3121 Add temporary token fail safe 2020-07-09 09:18:36 +02:00
Zed
77da2e32c6 Use old api to optimize photo rails 2020-06-17 00:20:34 +02:00
Zed
7e40af5611 Revert token change 2020-06-16 00:48:44 +02:00
Zed
6167e7dc49 Refactor fetch helper, fix list pagination 2020-06-15 16:44:14 +02:00
Zed
fb591e43b8 Switch to packedjson to try lowering memory usage 2020-06-02 18:05:54 +02:00
Zed
2fa76db099 Simplify error parser 2020-06-02 18:05:54 +02:00
Zed
1fb78f8047 Minor token changes 2020-06-02 18:05:54 +02:00
Zed
762d00b21d In with the new 2020-06-02 18:05:54 +02:00