You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,21 +17,22 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to
17
17
- Queue events: enqueue, dequeue, reschedule, forget, and banish
18
18
- Expected job duration is now published with executor events
19
19
The Mosquito API can be used to subscribe to these events with `Mosquito::API.event_receiver`
20
-
- Pluggable dequeue adapters allow customizing how jobs are selected from queues
20
+
- Pluggable dequeue adapters allow customizing how jobs are selected from queues (#183)
21
21
-`DequeueAdapter` abstract base class defines the adapter interface
22
22
-`ShuffleDequeueAdapter` is the default, preserving existing randomized behavior
23
23
-`WeightedDequeueAdapter` allows queue-level prioritization via configurable weights
24
24
- Configurable via `Mosquito.configure { |c| c.dequeue_adapter = ... }`
25
-
- Executor count is now configurable (default increased from 3 to 6)
25
+
- Executor count is now configurable (default increased from 3 to 6) (#184)
26
26
- Set via `Mosquito.configure { |c| c.executor_count = 10 }`
27
27
- Override with the `MOSQUITO_EXECUTOR_COUNT` environment variable
28
-
-`JobRun#started_at` and `JobRun#finished_at` timestamps are now exposed as typed `Time?` getters
29
-
- Graceful worker shutdown: on SIGTERM/SIGINT the overseer stops dequeuing, waits for in-flight executors to finish, and requeues any jobs left in pending back to waiting
30
-
- Overseers now take ownership of job runs when dequeued, and clean up abandoned pending job runs on startup
28
+
-`JobRun#started_at` and `JobRun#finished_at` timestamps are now exposed as typed `Time?` getters (#179)
29
+
- Graceful worker shutdown: on SIGTERM/SIGINT the overseer stops dequeuing, waits for in-flight executors to finish, and requeues any jobs left in pending back to waiting (#190)
30
+
- Queues can now be paused and resumed. While paused, `#dequeue` returns nil and jobs accumulate until the queue is resumed. An optional duration enables automatic resumption, useful for backing off rate-limited resources. (#192)
31
+
- Overseers now take ownership of job runs when dequeued, and clean up abandoned pending job runs on startup (#180)
31
32
- Mosquito can now accept pre-existing backend connections via `Configuration#backend_connection`. This allows sharing a connection pool with the rest of an application. (#193)
32
33
33
34
### Changed
34
-
- (breaking) `Configuration#connection_string` has been renamed to `Configuration#backend_connection_string` (#193)
35
+
+- (breaking) `Configuration#connection_string` has been renamed to `Configuration#backend_connection_string` (#193)
35
36
- (minor breaking) Logs are now emitted from runners with a slighly different source tag. (#152)
0 commit comments