Commit graph

248 commits

Author SHA1 Message Date
asonix
248af5c783 Remove futures 0.1 dep, update sled 2020-03-21 12:18:15 -05:00
asonix
f75c6b8eb5 Update sled 2020-03-21 11:50:24 -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
076a30d61c Remove unchanged default const 2020-03-20 22:13:53 -05:00
asonix
db12d38f15 Fix example 2020-03-20 22:13:30 -05:00
asonix
b40dc7dc93 Introduce job timeout 2020-03-20 22:04:23 -05:00
asonix
74ac3a9b61 Update to new futures, new actix 2020-03-20 21:31:03 -05:00
asonix
147a15b2fe Bump core and actix versions 2019-11-05 16:09:23 -06:00
asonix
cca9aca333 Permit cached state in local actix workers 2019-10-31 13:46:41 -05:00
asonix
f254b24814 Bump version for new sled 2019-10-28 18:47:23 -05:00
asonix
a267fddd38 Bump version for doc update 2019-09-22 13:13:38 -05:00
asonix
b023978cf1 Bump readme, lib docs 2019-09-22 13:13:05 -05:00
asonix
436f92f6ba Update readme 2019-09-22 12:53:06 -05:00
asonix
ee5c5723c9 Clean examples 2019-09-22 12:49:28 -05:00
asonix
a5b2a3e8dd Prepare jobs-sled for release 2019-09-22 12:41:13 -05:00
asonix
7e06ad981f Prepare jobs-actix for release 2019-09-22 12:33:33 -05:00
asonix
d8d4b026fe Prepare jobs-core for release 2019-09-22 12:12:08 -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
7a365ad415 Update licensing, sled-extensions 2019-09-15 15:51:33 -05:00
asonix
85ae1369d0 Update readme 2019-09-08 19:03:00 -05:00
asonix
9c8a8dcfc9 Update sled 2019-09-08 18:59:21 -05:00
asonix
366a328e9f Bump deps 2019-08-31 11:11:24 -05:00
asonix
4b2b1fb442 Add matrix link 2019-07-30 17:30:08 -05:00
asonix
092f36d4aa Add start_in_arbiter for workers 2019-06-01 10:58:25 -05:00
asonix
e9dc3b69f4 Clonable ProcessorMap 2019-06-01 10:58:05 -05:00
asonix
267ffa81b0 Remove unneeded trait methods 2019-05-27 20:49:46 -05:00
asonix
89eb549c44 Update example, readme 2019-05-27 20:35:02 -05:00
asonix
6ad80ea4dc Bump versions 2019-05-27 19:30:30 -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
645041fbac Update example, maybe look into ProcessorExt trait for Actix 2019-05-27 12:42:07 -05:00
asonix
6cd5344b7b Hide generics behind Box<dyn Trait> 2019-05-27 12:29:11 -05:00
asonix
dfba0cf7f2 Filter by job-readiness as well 2019-05-25 18:09:10 -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
875eec57dd Bump versions 2019-05-25 16:41:58 -05:00
asonix
2a6612225a Update cargo toml 2019-05-25 16:39:52 -05:00
asonix
e43abbfaaa Add lock on queue traversal 2019-05-25 16:39:16 -05:00
asonix
d3987768a5 Update readme, main repo docs 2019-05-25 16:15:09 -05:00
asonix
986a08b7e9 Update repo links 2019-05-25 15:33:38 -05:00
asonix
df932f6699 Organize sled 2019-05-25 15:32:17 -05:00
asonix
5b13908886 2019 2019-05-25 15:26:12 -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
d1aeb6c139 Bump actix 2019-05-21 15:04:06 -05:00
asonix
94d0fd9a02
Job IDs start at 1, not 2 2018-12-18 17:11:02 -06:00
asonix
2fea1e8e69
Tick before increment, tick on fetch 2018-12-18 17:09:10 -06:00