Commit graph

36 commits

Author SHA1 Message Date
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
asonix
c8f1f6cd34 Mark jobs staged, not running
Clear staged jobs on startup
2018-11-16 19:10:45 -06:00
asonix
0cfec96d4e Introduce queues to server 2018-11-10 21:15:21 -06:00
asonix
afff778309 Split core into multiple files 2018-11-07 20:20:30 -06:00
asonix
5c8b50643d Make actix handler and frontend 2018-11-07 19:50:21 -06:00