Commit graph

226 commits

Author SHA1 Message Date
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
asonix
21c98d607f Update metrics 2024-01-07 12:30:04 -06:00
asonix
c275bc7ef6 all: update metrics 2023-04-27 19:29:46 -05:00
asonix
8bb0aa03e0 metrics: add README 2023-03-22 22:27:05 -05:00
asonix
193c02aa73 Split metrics into crate 2023-03-22 22:26:30 -05:00
asonix
4d4a70d290 Add comments to example 2023-03-22 22:17:41 -05:00
asonix
fa395efbae Add metrics example 2023-03-22 22:16:13 -05:00
asonix
1d1d2047db Initial metrics implementaiton 2023-03-22 21:59:37 -05:00
asonix
218436e170 actix: bump version 2022-12-13 23:13:42 -06:00