Commit graph

54 commits

Author SHA1 Message Date
asonix
e9c8651728 actix: don't misuse gauges 2022-11-19 17:41:32 -06:00
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
asonix
8267df8311 Explicitly drop arbiters, use notify_waiters not notify_one 2022-11-17 23:48:54 -06:00
Aode (lion)
250d2f0a33 Ensure memory storage timer works 2022-07-02 14:03:26 -05:00
Aode (lion)
1ac3c0bc86 Remove concept of ticking, instead wait for jobs 2022-07-02 13:42:17 -05:00
Aode (Lion)
bf65fe802a Remove chrono, use std time types for public api 2022-01-17 17:45:24 -06:00
Aode (lion)
8c3f83c275 Add job timing 2021-11-17 12:53:49 -06:00
Aode (lion)
3eb23fb7a1 Remove unneeded clone 2021-11-17 11:53:11 -06:00
Aode (lion)
70ab459ae9 actix: Move QueueHandle to StateFn argument 2021-10-29 19:19:04 -05:00
Aode (lion)
db9af6a3b8 Remove server creation free functions 2021-10-29 18:52:32 -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)
461c9e5ed2 Port warn on drop from 0.9.x 2021-10-06 21:29:34 -05:00
Aode (Lion)
c0ce6f303e Move more out of spawned tasks 2021-10-06 20:31:27 -05:00
Aode (Lion)
cce5a97306 Don't have long-running spans 2021-09-21 12:02:58 -05:00
Aode (lion)
68a80085de Remove lingering .enter calls 2021-09-17 17:09:55 -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
f1c4709e41 Expose schedule in queuehandle, expose dev types in main lib 2020-04-21 12:04:18 -05:00
asonix
759ccf018b Eliminate Processor 2020-04-20 19:30:56 -05:00
asonix
ca1c073666 Add ActixJob to handle spawinging ?Send futures 2020-03-30 10:36:49 -05:00
asonix
cc2d0fbf0d Uuid ids 2020-03-22 12:52:43 -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
2fe8e9885c Move job back to named Future associated type 2020-03-21 09:44:38 -05:00
asonix
4514db49ee Update docs 2020-03-20 22:24:31 -05:00
asonix
74ac3a9b61 Update to new futures, new actix 2020-03-20 21:31:03 -05:00
asonix
cca9aca333 Permit cached state in local actix workers 2019-10-31 13:46:41 -05:00
asonix
ee5c5723c9 Clean examples 2019-09-22 12:49:28 -05:00
asonix
7e06ad981f Prepare jobs-actix for release 2019-09-22 12:33:33 -05:00
asonix
0522c83c33 Bring back Fail 2019-09-17 17:49:45 -05:00
asonix
b017803b74 Use stable sled-extensions 2019-09-16 20:31:11 -05:00
asonix
092f36d4aa Add start_in_arbiter for workers 2019-06-01 10:58:25 -05:00
asonix
267ffa81b0 Remove unneeded trait methods 2019-05-27 20:49:46 -05:00
asonix
ffa61b3c33 Add Every, a tool to create recurring jobs 2019-05-27 19:23:25 -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
edd63abf0f Relax bounds 2019-05-23 22:41:34 -05:00
asonix
2968ba5360 Drop tokio 2019-05-23 22:25:00 -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
asonix
c23aa0961d Remove jobs-actix, jobs-tokio 2018-11-17 17:00:43 -06:00