Commit graph

71 commits

Author SHA1 Message Date
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