Commit graph

18 commits

Author SHA1 Message Date
Diggory Blake c1d7ad4a2f
Bump version and fix clippy warning 2023-10-11 23:37:28 +01:00
Diggory Blake bca15c561c
Add function for testing a single job. 2022-06-30 17:21:27 +01:00
Diggory Blake 069cfd75c7
Update dependencies and bump version 2022-06-27 15:45:42 +01:00
Diggory Blake 989b11ffe0
Fix race condition with multiple runners 2022-02-08 13:10:05 +00:00
Flix 5b04ca15f7
doc: Allow documentation of generated static
`#[warn(missing_docs)]` complains about the generated static as it misses documentation. This keeps the documentation both in front of the static and inside.
2022-01-13 17:01:47 +01:00
Diggory Blake 592b7e6cb1
Add more logging 2021-12-01 18:22:43 +00:00
Diggory Blake ea408f7ab6
Avoid parsing function bodies for a better rust-analyzer experience. 2021-10-22 15:01:40 +01:00
Diggory Blake 15cafb3590
Fix bug with mq_latest_message where the wrong message may be returned
if multiple messages have the exact same creation date.
2021-10-13 16:32:17 +01:00
Diggory Blake 9424605cfb
Retry on foreign key violation 2021-09-21 12:14:32 +01:00
Diggory Blake 5d287b7247
Multiple fixes:
- Add functions to clear channels.
- Clear all channels before stress test.
- Abort stress test if spawning a job fails.
- Add function to determine whether an operation can be retried.
- Bump version to 0.3.0.
2021-09-20 13:29:20 +01:00
Diggory Blake 4529494e98
Bump crate version 2021-09-17 12:59:33 +01:00
Diggory Blake ec9d2bae2e
Fix copy-paste error in job macro 2021-07-19 00:41:00 +01:00
Diggory Blake fc4e909d24
Add support for passing custom context via a JobRegistry 2021-07-17 23:05:18 +01:00
Diggory Blake 85a335dbba
Bump version 2021-04-29 13:06:03 +01:00
Diggory Blake a02cc97e09 Various superficial improvements 2021-03-30 01:03:02 +01:00
Diggory Blake 4edf49255e Fix publish step 2021-03-30 00:41:10 +01:00
Diggory Blake 37f70afa33 Rename task -> job to avoid confusion with async tasks 2021-03-29 21:39:07 +01:00
Diggory Blake 2d4a0356e6 Add registry and document everything 2021-03-29 03:05:20 +01:00