Commit graph

80 commits

Author SHA1 Message Date
asonix b074759eb4 Update background-jobs, rework errors 2024-02-05 00:24:49 -06:00
asonix 2b3cb8db92 clippy 2024-01-08 17:10:31 -06:00
asonix c640567206 Update to newest background-jobs, implement Job rather than ActixJob 2024-01-08 17:00:15 -06:00
asonix 206db2079f Remove futures-util dependency 2023-09-09 16:46:22 -04:00
asonix 804d22ee81 Enable different breaker failure cases for different endpoints
Additionally, don't count 4xx towards succeeding a breaker
2023-09-08 19:11:24 -06:00
asonix 75df271b58 Switch from awc to reqwest, enable HTTP Proxies 2023-08-17 17:09:35 -05:00
asonix a1ea5d676c Rework misskey fetch to reuse deliver plumbing
Only count server errors towards failed breakers
2023-02-25 15:02:16 -06:00
perillamint 4a7775b56d Misskey metadata support
This commit implements misskey metadata support and corresponding test
for From<MskyMeta> implementation

Also, it is good to note that, Misskey does not return 404 but 200 OK
when they poked at nonexistant endpoint, so the implementation should
handle for invalid json case
2023-02-25 14:34:22 -06:00
asonix f9cad61049 Add healthcheck for db, new clippy lints 2023-01-29 13:21:36 -06:00
asonix 88b0383084 Keep track of when servers were last seen 2022-12-21 16:51:17 -06:00
asonix 43b70f88a7 Apply patch from perallamint on github
clippy: unnecessary lifetime annotation on static strings

Since string literal constant already has static lifetime, it is not
necessary to explicitly annotate it with 'static.
2022-12-13 10:39:25 -06:00
asonix f4db90b699 Use sync RwLock for lru access 2022-12-09 17:47:45 -06:00
asonix b9dba28207 Bump activitystreams 2022-12-06 18:21:55 -06:00
asonix 787c8312bc Make better use of cores for jobs 2022-11-19 21:32:45 -06:00
asonix 902ce5d3c2 New module structure 2022-11-19 14:47:32 -06:00
asonix e9303ad9f6 Remove media caching, just proxy 2022-11-17 22:39:26 -06:00
asonix e1137fadd8 Handle other request in nodeinfo job 2022-11-15 22:10:15 -06:00
asonix 0768cb6ac6 Don't fail jobs for fine scenarios
- dont fail contact for breaker
- dont fail instance for not found
2022-11-15 20:53:55 -06:00
asonix 5011e05c3d Clean tracing a bit more 2022-11-15 19:56:19 -06:00
asonix e46c9e230b Add boolish to nodinfo, add tests 2022-11-15 13:47:31 -06:00
asonix a4cb7934b1 Add test for Boolish 2022-11-15 13:12:16 -06:00
asonix 6ca6a19178 Parse akkoma registration weirdness 2022-11-15 13:06:57 -06:00
asonix 881654fed9 Try to be a bit more clear about what object is being delivered 2022-11-14 19:18:09 -06:00
asonix 373072c482 Don't log server list in deliver many 2022-11-14 19:11:10 -06:00
asonix 3358ae0461 Simplify debug info for jobs 2022-11-13 13:58:30 -06:00
asonix 64d06f210a Parse masto 4.0 nodeinfo 2022-11-07 21:07:46 -06:00
asonix 4ae7e435eb Ensure proper parsing for masto instance struct on 4.0.0 2022-11-07 19:31:32 -06:00
asonix d7e9e58de2 Prefer short_description, add more telegram meta commands 2022-11-07 18:49:19 -06:00
asonix bc263701e2 Log cleanup 2022-11-01 15:57:33 -05:00
Aode (lion) 79fa0fb828 Update to git background jobs 2022-07-02 14:07:25 -05:00
Aode (lion) 2313303e22 Update RSA 2022-04-08 17:39:38 -05:00
Aode (Lion) 8893895c71 Update to latest activitystreams 2022-01-17 16:54:45 -06:00
Aode (lion) 0d38133271 Merge branch 'main' of git.asonix.dog:asonix/relay into main 2021-11-23 16:20:44 -06:00
Aode (lion) 1dba31e3a0 Clippy lints, dashmap for breakers 2021-11-23 16:19:59 -06:00
Aode (Lion) 4753a454ab Update deps 2021-11-23 12:43:52 -06:00
Aode (lion) 8021dca1dd Update background jobs 2021-10-29 19:26:57 -05:00
Aode (Lion) 231290380e Bump background jobs, other deps 2021-10-11 14:19:32 -05:00
Aode (Lion) 3384ca9064 Clean up debug impls 2021-09-21 14:32:25 -05:00
Aode (Lion) 4b4aaaa0b4 Don't store Config in State 2021-09-21 13:26:31 -05:00
Aode (lion) 43e5b6d873 Instrument with tracing 2021-09-18 12:55:39 -05:00
asonix 2e6396be2b Fix staffAccounts extraction 2021-02-11 14:27:41 -06:00
asonix 486dabff9e Error contact job on failed extraction 2021-02-11 14:18:58 -06:00
asonix 2479c2b39d Test contact extraction 2021-02-11 14:17:17 -06:00
asonix 1311f92b6c Add support for pulling a pleroma admin 2021-02-11 13:41:03 -06:00
asonix 1c813d917b Spawn cache tasks for new follows 2021-02-10 12:35:37 -06:00
asonix b2904bb1ba Don't add inbox as connection 2021-02-10 00:44:48 -06:00
asonix 2c275e441b pub -> pub(crate) 2021-02-09 22:17:20 -06:00
asonix 50d2b5b21c bro we are sledding 2021-02-09 22:05:06 -06:00
asonix 1f065385a0 Update deps 2020-09-07 16:51:02 -05:00
asonix 812de59348 Bump job concurrency 2020-07-25 10:41:39 -05:00