Commit graph

21 commits

Author SHA1 Message Date
Diggory Blake c1d7ad4a2f
Bump version and fix clippy warning 2023-10-11 23:37:28 +01:00
Incomplete 5e4f160d91
Upgrade sqlx to 0.7.1 (#48) 2023-10-11 19:37:25 +01:00
Imbolc 75e12bac6c
Wait for running jobs to finish (#40)
Wait for running jobs to finish
2022-07-16 22:47:57 +01:00
Imbolc b332b6d826
Ci tests (#42)
* Increase pause during test runs in CI
2022-07-13 14:59:27 +01:00
Imbolc 9d07f31663
Fix a few docstrings 2022-07-05 18:04:42 +03:00
Diggory Blake bca15c561c
Add function for testing a single job. 2022-06-30 17:21:27 +01:00
Flix 6fde3901a4
feat: function to check if a job id exists 2022-02-05 15:29:53 +01: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
Amanda Graven 4c52fe9f24
Fix clippy lints in unit tests 2021-09-21 14:14:53 +02:00
Diggory Blake 9424605cfb
Retry on foreign key violation 2021-09-21 12:14:32 +01:00
Diggory Blake 08b71b59ae
Suppress unwanted clippy lint 2021-09-20 13:39:13 +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 fc4e909d24
Add support for passing custom context via a JobRegistry 2021-07-17 23:05:18 +01:00
Diggory Blake a02cc97e09 Various superficial improvements 2021-03-30 01:03:02 +01:00
Diggory Blake a98c95ef13 Make tests less flaky 2021-03-29 23:51:41 +01:00
Diggory Blake 4992bcf582 Setup postgres in CI 2021-03-29 23:40:14 +01:00
Diggory Blake 23010c9512 Add CI 2021-03-29 22:33:07 +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
Diggory Blake 6681fe87de Initial commit 2021-03-28 02:57:17 +01:00