Commit graph

234 commits

Author SHA1 Message Date
asonix
8217012237 Add type Error to Job 2024-02-04 22:19:41 -06:00
asonix
424f792cb0 Update jobs-core version 2024-02-04 21:47:18 -06:00
asonix
048dc341bc Don't forward Display for process error 2024-02-04 21:47:18 -06:00
asonix
9cb57a03f5 Remove keyword from toplevel 2024-01-18 13:31:21 -05:00
asonix
484e660c5f Add time to tokio features 2024-01-18 13:27:19 -05:00
asonix
d2c171913f Fix tokio docs 2024-01-18 13:14:58 -05:00
asonix
a0c924a4f3 Document available features 2024-01-18 13:10:30 -05:00
asonix
9141f662d7 clippy 2024-01-18 13:01:03 -05:00
asonix
c1d7d9e750 Update cargo tomls 2024-01-18 12:58:59 -05:00
asonix
5a95a71b7c Convert panic example to tokio 2024-01-14 12:49:07 -05:00
asonix
eff0956740 update tokio-example 2024-01-14 12:48:56 -05:00
asonix
c01a3544bc postgres: don't warn without tokio_unstable 2024-01-14 12:48:29 -05:00
asonix
7eaa3d8c72 Rework tokio workers to be supervised 2024-01-14 12:48:02 -05:00
asonix
6665ced671 Add tokio example, update example imports 2024-01-13 16:58:48 -05:00
asonix
56291a91f8 Expose all subcrates 2024-01-13 16:58:33 -05:00
asonix
cff4da40b8 tokio: update version 2024-01-13 16:57:49 -05:00
asonix
61456090fc sled: update toml 2024-01-13 16:57:37 -05:00
asonix
ab6ab53b9a actix: fix docs, namespace metrics 2024-01-13 16:37:44 -05:00
asonix
8797127077 metrics: fix docs 2024-01-13 16:37:14 -05:00
asonix
f85469686f Build a quick tokio-based jobs processor. more-or-less copy actix 2024-01-13 16:36:49 -05:00
asonix
b0beaad10a postgres-example: update usage 2024-01-10 21:15:31 -06:00
asonix
42bc58bc94 jobs-actix: avoid warning when not(tokio_unstable) 2024-01-10 21:15:03 -06:00
asonix
72f4fc1cdc jobs-postgres: spawn with task names 2024-01-10 21:14:39 -06:00
asonix
f7f6f901f8 jobs-sled: spawn blocking for sled access 2024-01-10 21:14:14 -06:00
asonix
495977b8d8 jobs-actix: spawn with task names 2024-01-10 21:11:45 -06:00
asonix
e663dbe62e memory & sled: take heartbeat_interval into account, all: instrument storage implementations 2024-01-10 19:45:07 -06:00
asonix
ac6ad4bc2b Instrument postgres calls 2024-01-10 19:20:27 -06:00
asonix
5e25b2f11d jobs-actix: use configured heartbeat interval 2024-01-10 15:09:49 -06:00
asonix
e2e784f012 postgres-example: copy from basic-example 2024-01-10 15:08:15 -06:00
asonix
ae90774bb1 jobs-postgres: complete the implementation 2024-01-10 15:07:18 -06:00
asonix
ad0a295dd1 jobs-sled: reorganize completion match 2024-01-10 15:06:59 -06:00
asonix
63ee0d7cb7 jobs-core: change 'timeout' to 'heartbeat_interval' 2024-01-10 15:06:36 -06:00
asonix
0f8b279e3f Start building jobs-postgres 2024-01-09 23:16:35 -06:00
asonix
2727645ca9 Add heartbeat loop to jobs-actix 2024-01-09 18:06:28 -06:00
asonix
e02de4a153 Add Send and Sync to Server Deref 2024-01-08 16:53:14 -06:00
asonix
dc3f7b2c62 Remove dependency on tracing-futures 2024-01-08 16:37:32 -06:00
asonix
51418ced0e Bump version 2024-01-08 16:34:22 -06:00
asonix
fa41f6571c metrics-example: use MetricsStorage 2024-01-08 16:30:04 -06:00
asonix
6db1d78192 facade: expose MetricsStorage 2024-01-08 16:29:50 -06:00
asonix
3ab2bef826 jobs-metrics: Add Storage type to provide metrics for any storage backend 2024-01-08 16:29:29 -06:00
asonix
f73712c098 jobs-sled: Update to new storage api 2024-01-08 16:28:55 -06:00
asonix
cb4124b282 jobs-actix: handle storage api change 2024-01-08 16:28:18 -06:00
asonix
3045f003b7 jobs-core: remove JobStatus, constify some methods, return whether job is finished in complete 2024-01-08 16:27:46 -06:00
asonix
6cec89361c Update examples to use new api 2024-01-07 22:48:38 -06:00
asonix
c00f739cdc Update exports 2024-01-07 22:48:17 -06:00
asonix
a39cb084d2 Rework sled for new api 2024-01-07 22:46:47 -06:00
asonix
d1d578aa97 Remove actix-job, make ActixSpawner public 2024-01-07 22:46:30 -06:00
asonix
0cd0f91369 Fix fetching next timestamp, make more things public 2024-01-07 22:45:48 -06:00
asonix
496c40ddd4 Remove UnwindSafe bound on Unsend jobs 2024-01-07 18:54:14 -06:00
asonix
4809c123c2 Reimplement job storage 2024-01-07 18:52:09 -06:00