Commit graph

89 commits

Author SHA1 Message Date
ce4858d87a Update event-listener, bump jobs-core version 2024-04-06 13:29:50 -05:00
4dbde2c9eb Add gauges for memory storage 2024-04-06 13:24:29 -05:00
f5163454da Store queue_time_id to avoid O(n) heartbeats & removals 2024-04-06 13:15:46 -05:00
141db9afc8 Remove anyhow 2024-02-04 23:35:47 -06:00
8217012237 Add type Error to Job 2024-02-04 22:19:41 -06:00
048dc341bc Don't forward Display for process error 2024-02-04 21:47:18 -06:00
e663dbe62e memory & sled: take heartbeat_interval into account, all: instrument storage implementations 2024-01-10 19:45:07 -06:00
63ee0d7cb7 jobs-core: change 'timeout' to 'heartbeat_interval' 2024-01-10 15:06:36 -06:00
0f8b279e3f Start building jobs-postgres 2024-01-09 23:16:35 -06:00
dc3f7b2c62 Remove dependency on tracing-futures 2024-01-08 16:37:32 -06:00
3045f003b7 jobs-core: remove JobStatus, constify some methods, return whether job is finished in complete 2024-01-08 16:27:46 -06:00
0cd0f91369 Fix fetching next timestamp, make more things public 2024-01-07 22:45:48 -06:00
496c40ddd4 Remove UnwindSafe bound on Unsend jobs 2024-01-07 18:54:14 -06:00
4809c123c2 Reimplement job storage 2024-01-07 18:52:09 -06:00
21c98d607f Update metrics 2024-01-07 12:30:04 -06:00
1a835863d4 core: Improve tracing 2022-12-13 23:06:29 -06:00
8af4af8374 core: Add tracing around requesting jobs 2022-12-12 10:36:04 -06:00
ba8899bed8 core: Paranoid no-lock-in-async 2022-12-09 17:39:30 -06:00
ecb9cae3c1 core: don't misuse gauges 2022-11-19 17:41:20 -06:00
54b0b0fb0e jobs-core: Replace Stats with metrics 2022-11-19 14:38:47 -06:00
9c77c20883 clippy 2022-11-17 23:55:29 -06:00
250d2f0a33 Ensure memory storage timer works 2022-07-02 14:03:26 -05:00
1ac3c0bc86 Remove concept of ticking, instead wait for jobs 2022-07-02 13:42:17 -05:00
bf65fe802a Remove chrono, use std time types for public api 2022-01-17 17:45:24 -06:00
637842d298 Don't log job arguments 2021-11-22 19:03:19 -06:00
7002366d67 Attempt restarting ticker, workers in live arbiters 2021-10-29 15:20:04 -05:00
e6ecf3aa67 Use JoinHandle to transfer result 2021-10-11 18:49:39 -05:00
1d30a9472c Allow jobs to wrap themselves in their own span 2021-09-21 10:32:48 -05:00
68a80085de Remove lingering .enter calls 2021-09-17 17:09:55 -05:00
ba60a5cbe0 Replace log with tracing 2021-09-16 17:50:32 -05:00
5ebc1bd674 Handle panicking jobs 2021-09-13 17:40:49 -05:00
7b071278bc Forward ActixJob constants to Job 2021-04-03 16:08:01 -05:00
b5661fb8e6 jobs-core: remove futures dev-dep 2021-02-04 12:40:28 -06:00
57761f3609 Use a better mutex 2020-05-21 22:01:20 -05:00
77999cf295 Clippy nits 2020-04-25 17:12:43 -05:00
57e6a06f00 Remove actix actor dep from core 2020-04-23 13:23:09 -05:00
e52348a9ec Print job duration 2020-04-21 16:08:19 -05:00
759ccf018b Eliminate Processor 2020-04-20 19:30:56 -05:00
ca1c073666 Add ActixJob to handle spawinging ?Send futures 2020-03-30 10:36:49 -05:00
799391811c Expose next_queue, add docs 2020-03-22 16:04:49 -05:00
0df808e97d Move timeout getter to JobInfo 2020-03-22 15:02:32 -05:00
17416cd892 Expose timeout, status, updated_at 2020-03-22 14:59:36 -05:00
cc2d0fbf0d Uuid ids 2020-03-22 12:52:43 -05:00
1da4c7f64c Soften log levels again 2020-03-21 14:23:52 -05:00
3144b71abb Properly fetch jobs for memory storage 2020-03-21 14:19:16 -05:00
007d53b3c5 Lessen log levels, return unexecuted jobs 2020-03-21 14:10:29 -05:00
aba91d70b9 If a job is not ready, put it back 2020-03-21 14:00:52 -05:00
2fe8e9885c Move job back to named Future associated type 2020-03-21 09:44:38 -05:00
db12d38f15 Fix example 2020-03-20 22:13:30 -05:00
b40dc7dc93 Introduce job timeout 2020-03-20 22:04:23 -05:00