asonix
3c34d66e48
jobs-actix: simplify manager, add _with_threads option, add metrics
2022-11-19 14:40:23 -06:00
asonix
51afbc89ce
clippy
2022-11-17 23:50:24 -06:00
Aode (lion)
1ac3c0bc86
Remove concept of ticking, instead wait for jobs
2022-07-02 13:42:17 -05:00
Aode (lion)
cff996d1f1
Introduce a manager to keep workers alive
2021-10-29 17:07:01 -05:00
Aode (lion)
7002366d67
Attempt restarting ticker, workers in live arbiters
2021-10-29 15:20:04 -05:00
Aode (Lion)
c0ce6f303e
Move more out of spawned tasks
2021-10-06 20:31:27 -05:00
Aode (lion)
ba60a5cbe0
Replace log with tracing
2021-09-16 17:50:32 -05:00
asonix
be513dae1e
Update to actix-rt 2.0.0
2021-02-03 16:32:56 -06:00
asonix
2cb81ee743
Carry Arbiter in QueueHandle to allow spawning from off the runtime
2021-01-06 12:24:27 -06:00
asonix
57761f3609
Use a better mutex
2020-05-21 22:01:20 -05:00
asonix
77999cf295
Clippy nits
2020-04-25 17:12:43 -05:00
asonix
ba1a9f422f
Remove dependency on Actix Actors
2020-04-23 13:16:56 -05:00
asonix
759ccf018b
Eliminate Processor
2020-04-20 19:30:56 -05:00
asonix
007d53b3c5
Lessen log levels, return unexecuted jobs
2020-03-21 14:10:29 -05:00
asonix
587adfebab
Add more logging around checkdb
2020-03-21 13:48:40 -05:00
asonix
5a0f9c0d5d
Bring back checkdb for polling newly available tasks
2020-03-21 10:11:27 -05:00
asonix
74ac3a9b61
Update to new futures, new actix
2020-03-20 21:31:03 -05:00
asonix
7e06ad981f
Prepare jobs-actix for release
2019-09-22 12:33:33 -05:00
asonix
1f10095269
Make background-jobs simpler to use
2019-05-27 19:01:21 -05:00
asonix
6cd5344b7b
Hide generics behind Box<dyn Trait>
2019-05-27 12:29:11 -05:00
asonix
0a509e0271
Queue as many jobs as we can on ping
...
This change isn't incredibly important, but in cases where more than one
jobs server is running, and one happens to get a heavy amount of new job
traffic while the others get very few, it is possible that we can end up
with unprocessed jobs in the DB while not every worker is busy. This
change exausts our worker queue on ping if there are jobs available
2019-05-25 17:10:32 -05:00
asonix
f2a694879c
Revamp background-jobs with pluggable backends
2019-05-25 15:22:26 -05:00
asonix
fcfc85cb69
Add statistics, and expose them through jobs-actix
2018-12-18 16:50:47 -06:00
asonix
d266315f1f
Add jobs-actix
2018-12-16 12:43:44 -06:00