asonix
ca1c073666
Add ActixJob to handle spawinging ?Send futures
2020-03-30 10:36:49 -05:00
asonix
799391811c
Expose next_queue, add docs
2020-03-22 16:04:49 -05:00
asonix
0df808e97d
Move timeout getter to JobInfo
2020-03-22 15:02:32 -05:00
asonix
17416cd892
Expose timeout, status, updated_at
2020-03-22 14:59:36 -05:00
asonix
cc2d0fbf0d
Uuid ids
2020-03-22 12:52:43 -05:00
asonix
1da4c7f64c
Soften log levels again
2020-03-21 14:23:52 -05:00
asonix
3144b71abb
Properly fetch jobs for memory storage
2020-03-21 14:19:16 -05:00
asonix
007d53b3c5
Lessen log levels, return unexecuted jobs
2020-03-21 14:10:29 -05:00
asonix
aba91d70b9
If a job is not ready, put it back
2020-03-21 14:00:52 -05:00
asonix
587adfebab
Add more logging around checkdb
2020-03-21 13:48:40 -05:00
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