Commit graph

33 commits

Author SHA1 Message Date
Zed
670a3bca6e Revert "Revert "Replace tweet endpoint with GraphQL""
This reverts commit 36c72f9860.
2023-02-24 01:01:22 +01:00
Zed
36c72f9860 Revert "Replace tweet endpoint with GraphQL"
This reverts commit 19adc658c3.
2023-02-02 12:38:58 +01:00
Zed
19adc658c3 Replace tweet endpoint with GraphQL 2023-02-02 12:31:49 +01:00
Zed
ff61d97a1d Optimize profile fetching and caching 2023-01-20 04:55:42 +01:00
Zed
adaa94d998 Add more logging to the token pool 2022-06-05 21:47:25 +02:00
Zed
c9b451d3ea Set listMembers max remaining to 500 2022-01-24 12:29:03 +01:00
Zed
51ae076ea0 Rearchitect profile, support pins, Profile -> User 2022-01-23 07:23:09 +01:00
Zed
43b0bdc08a Remove user agents 2022-01-17 04:13:27 +01:00
Zed
3d91ae0256 Set tokens to expire 5 minutes early
Prevents occasional usage of tokens the very second they expire
2022-01-16 17:57:18 +01:00
Zed
d4c6876bc9 Add more info to /.tokens endpoint 2022-01-06 00:42:18 +01:00
Zed
4d9fd1a6f8 Use int for token reset instead of Time 2022-01-06 00:19:09 +01:00
Zed
34964f9e56 Track pending token requests to limit concurrency 2022-01-05 23:52:45 +01:00
Zed
f9c9b0d3a4 Add /.tokens debug endpoint to see token pool 2022-01-05 22:49:16 +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
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
Ryan Koppenhaver
669aa2cd8b
parse token from int or str (#405) 2021-07-01 14:33:40 +02: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
4c1270b377 Use old API endpoint to fetch tokens 2020-06-24 15:02:34 +02:00
Zed
bde3c3662d Silence some warnings 2020-06-22 03:50:16 +02:00
Zed
db100bbf17 Temporary fix to prevent early token expiry 2020-06-19 09:45:24 +02:00
Zed
68a5ac20b6 Proxy media instead of using file cache 2020-06-06 04:39:22 +02:00
Zed
3dc85639f4 Fix crash on token fetch failure 2020-06-02 20:37:55 +02:00
Zed
2642e5efe4 More aggressive token strategy to combat bursts 2020-06-02 18:05:54 +02:00
Zed
baa28ea8bc Prevent crash when token missing 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