Commit graph

50 commits

Author SHA1 Message Date
Diggory Blake 387b301656
Fix CI (#49) 2023-10-15 16:06:13 +01:00
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 2fdabd9a98
Fixes #41 mq_clear_ must keep the nil message (#43) 2022-07-13 15:11:37 +01:00
Imbolc b332b6d826
Ci tests (#42)
* Increase pause during test runs in CI
2022-07-13 14:59:27 +01:00
Diggory Blake 043774fba1
Merge pull request #35 from imbolc/master
Sync readme
2022-07-06 18:04:21 +01:00
imbolc 1aff20c3e5 Sync readme 2022-07-06 19:16:38 +03:00
Diggory Blake e1cbd9f551
Merge pull request #33 from imbolc/patch-3
Fix a few docstrings
2022-07-05 16:10:10 +01:00
Diggory Blake 46c03f8e99
Merge pull request #32 from imbolc/patch-2
Readme example forgotten unwrap
2022-07-05 16:09:41 +01:00
Imbolc 9d07f31663
Fix a few docstrings 2022-07-05 18:04:42 +03:00
Imbolc c121e6c997
Readme example forgotten unwrap 2022-07-05 12:46:35 +03: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
Diggory Blake 7a13e04b21
Merge pull request #21 from FlixCoder/job-exists
feat: function to check if a job id exists
2022-02-05 14:46:21 +00:00
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