Commit graph

83 commits

Author SHA1 Message Date
asonix e663dbe62e memory & sled: take heartbeat_interval into account, all: instrument storage implementations 2024-01-10 19:45:07 -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 dc3f7b2c62 Remove dependency on tracing-futures 2024-01-08 16:37:32 -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 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 1a835863d4 core: Improve tracing 2022-12-13 23:06:29 -06:00
asonix 8af4af8374 core: Add tracing around requesting jobs 2022-12-12 10:36:04 -06:00
asonix ba8899bed8 core: Paranoid no-lock-in-async 2022-12-09 17:39:30 -06:00
asonix ecb9cae3c1 core: don't misuse gauges 2022-11-19 17:41:20 -06:00
asonix 54b0b0fb0e jobs-core: Replace Stats with metrics 2022-11-19 14:38:47 -06:00
asonix 9c77c20883 clippy 2022-11-17 23:55:29 -06:00
Aode (lion) 250d2f0a33 Ensure memory storage timer works 2022-07-02 14:03:26 -05:00
Aode (lion) 1ac3c0bc86 Remove concept of ticking, instead wait for jobs 2022-07-02 13:42:17 -05:00
Aode (Lion) bf65fe802a Remove chrono, use std time types for public api 2022-01-17 17:45:24 -06:00
Aode (lion) 637842d298 Don't log job arguments 2021-11-22 19:03:19 -06:00
Aode (lion) 7002366d67 Attempt restarting ticker, workers in live arbiters 2021-10-29 15:20:04 -05:00
Aode (Lion) e6ecf3aa67 Use JoinHandle to transfer result 2021-10-11 18:49:39 -05:00
Aode (Lion) 1d30a9472c Allow jobs to wrap themselves in their own span 2021-09-21 10:32:48 -05:00
Aode (lion) 68a80085de Remove lingering .enter calls 2021-09-17 17:09:55 -05:00
Aode (lion) ba60a5cbe0 Replace log with tracing 2021-09-16 17:50:32 -05:00
Aode (Lion) 5ebc1bd674 Handle panicking jobs 2021-09-13 17:40:49 -05:00
asonix 7b071278bc Forward ActixJob constants to Job 2021-04-03 16:08:01 -05:00
asonix b5661fb8e6 jobs-core: remove futures dev-dep 2021-02-04 12:40:28 -06:00
asonix 57761f3609 Use a better mutex 2020-05-21 22:01:20 -05:00
asonix 77999cf295 Clippy nits 2020-04-25 17:12:43 -05:00
asonix 57e6a06f00 Remove actix actor dep from core 2020-04-23 13:23:09 -05:00
asonix e52348a9ec Print job duration 2020-04-21 16:08:19 -05:00
asonix 759ccf018b Eliminate Processor 2020-04-20 19:30:56 -05:00
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 2fe8e9885c Move job back to named Future associated type 2020-03-21 09:44:38 -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 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