Commit graph

37 commits

Author SHA1 Message Date
205b729f16
fix: also dispatch right away 2024-09-19 17:20:31 +02:00
9a260a14c3
fix: oops must wake in routes, not worker 2024-09-19 17:16:33 +02:00
174ef4198d
chore: clippy warns, async_trait fixes 2024-09-19 16:51:20 +02:00
0934cdaad4
feat: waker implementation
basically posting should now be instant? very ugly implementation tho: i
wanted to keep tokio out of core but this is awful and also im
realistically never swapping out tokio, so might as well move these
tokens down in core...
2024-09-19 16:50:13 +02:00
52b93ba539
chore: bump deps, drop async_trait where possible 2024-09-19 15:56:22 +02:00
ea6fedf34e
fix: must do it with an update_many
aaaaaaaaaaaaa
2024-08-15 05:48:01 +02:00
52933da820
fix: ughhh must use activity id from payload
i should go to sleep ...
2024-08-15 05:41:50 +02:00
43a4e70cf4
fix: get actor id from job object 2024-08-15 05:39:40 +02:00
0846e2cff9
feat: process View activities to mark notifications 2024-08-15 05:02:07 +02:00
e7e8653ce2
chore: bump sea_orm to 1.0 2024-08-11 12:55:27 +02:00
5c384e9b9e
fix: limit actor update modifiable fields 2024-07-15 21:36:17 +02:00
88b87c0b20
chore: deps cleanup
core down to 180 crates!! theres probably still a lot to be improved but
eh its a start!
2024-07-15 20:19:27 +02:00
b086fe969f
fix: delivery passes error up 2024-07-06 06:08:58 +02:00
11b4ae8678
chore: renamed PullError in RequestError 2024-07-06 06:08:42 +02:00
9adeff6fbf
feat: added error field to jobs
basically just for manual inspection, maybe we could drop this again
once upub is much more stable?
2024-07-06 06:03:26 +02:00
abb8095685
fix: also set inner actor on filled undos 2024-07-05 04:23:53 +02:00
f36c249803
feat: fill undo ids for user in outbound activities 2024-07-05 03:18:33 +02:00
c14531afc8
fix: delivery also embeds activities in activities
it was supposed to do already but i was just joining on objects, oops
2024-07-05 02:57:41 +02:00
7079662391
fix: add special case for 447 from lemmy.cafe
because its clogging my job queue
2024-07-05 02:43:01 +02:00
f1287b1639
feat: cases for dropping jobs 2024-06-23 23:40:23 +02:00
fc744e7604
fix: set updated in outgoing notes 2024-06-23 17:06:48 +02:00
2d08511e05
fix: maybe must be unchanged? 2024-06-10 06:34:13 +02:00
bc747af055
feat: graceful shutdown to not lose tasks 2024-06-10 04:13:15 +02:00
fb0242221b
fix!: oops actually use jsonb here too
sorry last breaking db change i swear (<---lie)
2024-06-08 16:58:16 +02:00
f664cb1cbe
fix: fill addressing for outbound note activities 2024-06-08 15:55:07 +02:00
87d0d7b6d2
fix: delete duplicated jobs 2024-06-07 23:16:39 +02:00
06fcf09a5f
chore: refactor addressing: expand inside methods 2024-06-07 23:14:49 +02:00
f6d30b3bec
fix: outbound->delivery, local->outbound
also stop discarding duplicated deliveries, ouchhhh
2024-06-06 19:04:08 +02:00
485724701a
fix: no unique index on job activity, skip dupes
rather than preventing dupes from being inserted (which breaks
processing local activities that require delivering) skip them as soon
as they get acquired
2024-06-06 18:36:30 +02:00
45bbc34dba
fix: use transaction 2024-06-06 06:51:32 +02:00
053414824a
fix: retry some times before dropping acquired job 2024-06-06 04:36:16 +02:00
c6d4f713ac
feat: configurable job expiration
defaults to 30 days
2024-06-06 04:27:49 +02:00
3123c8c1e0
feat: transactions!!
quite ugly because i have to pass it everywhere as argument but should
work i think, and also transactions now!!
2024-06-06 04:15:27 +02:00
90e4454d3e
fix: log activity id for failed jobs
way easier to debug, also allows to select them back
2024-06-06 03:19:50 +02:00
782c729b4c
fix: oops inbound which fails processing is not ok 2024-06-06 02:46:24 +02:00
a3decfea95
fix: print what's getting started 2024-06-06 02:33:32 +02:00
52f1238052
chore: traits are back in core
worker is just a worker, everything else is upub
2024-06-06 02:16:50 +02:00