Commit graph

34 commits

Author SHA1 Message Date
Flix 6fde3901a4
feat: function to check if a job id exists 2022-02-05 15:29:53 +01:00
Diggory Blake 6d3ed6fb99
Merge pull request #18 from FlixCoder/patch-1
Document the macro-generated static
2022-01-13 23:31:08 +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 59adc6313f
Merge pull request #14 from agraven/ci-all-targets
Also run clippy CI checks on tests
2021-09-21 15:07:53 +01:00
Amanda Graven 262a3e29ff
Also run clippy CI checks on tests 2021-09-21 15:38:15 +02:00
Diggory Blake 4718637891
Merge pull request #13 from agraven/clippy-fixes
Fix clippy lints in unit tests
2021-09-21 14:02:05 +01:00
Diggory Blake ab35a58716
Merge pull request #12 from agraven/migration-files
Move migration changes to separate files
2021-09-21 14:01:40 +01:00
Amanda Graven 4c52fe9f24
Fix clippy lints in unit tests 2021-09-21 14:14:53 +02:00
Amanda Graven 05d59b0e39
Move migration changes to separate files
Moves the migration changes introduced in 5d287b7 to separate migration
files, so existing requeuest deployments can migrate without issue.
2021-09-21 14:05:09 +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 4529494e98
Bump crate version 2021-09-17 12:59:33 +01:00
Diggory Blake af5f29ec9f
Merge pull request #6 from kate-shine/shine/tokio_update
chore: bump the minimum tokio version; allow higher versions again.
2021-08-11 19:25:53 +01:00
Kateřina Churanová 9c6fe463d5
chore: bump the minimum tokio version; allow higher versions again. 2021-08-11 16:58:04 +02: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 1cc2262cf8
Add missing license files 2021-04-29 13:09:06 +01:00
Diggory Blake 85a335dbba
Bump version 2021-04-29 13:06:03 +01:00
Diggory Blake 5779244408
Merge pull request #1 from secretkeysio/master
Bump sqlx & expose sqlx feature rustls flag.
2021-04-29 13:02:30 +01:00
Ryan McGrath a66204a58b
Bump sqlx & expose feature rustls flag. 2021-04-28 17:56:44 -07:00
Diggory Blake 326843db94 Add stress test 2021-04-11 13:26:08 +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 c767c1098d Cache sqlx-cli 2021-03-30 00:10:08 +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