mirror of
https://github.com/hibiken/asynq.git
synced 2024-12-25 23:32:17 +08:00
Merge branch 'hibiken:master' into master
This commit is contained in:
commit
c5a964bb26
19
CHANGELOG.md
19
CHANGELOG.md
@ -7,6 +7,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [0.25.1] - 2024-12-11
|
||||||
|
|
||||||
|
### Upgrades
|
||||||
|
|
||||||
|
* Some packages
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
* Add `HeartbeatInterval` option to the scheduler (PR: https://github.com/hibiken/asynq/pull/956)
|
||||||
|
* Add `RedisUniversalClient` support to periodic task manager (PR: https://github.com/hibiken/asynq/pull/958)
|
||||||
|
* Add `--insecure` flag to CLI dash command (PR: https://github.com/hibiken/asynq/pull/980)
|
||||||
|
* Add logging for registration errors (PR: https://github.com/hibiken/asynq/pull/657)
|
||||||
|
|
||||||
|
### Fixes
|
||||||
|
- Perf: Use string concat inplace of fmt.Sprintf in hotpath (PR: https://github.com/hibiken/asynq/pull/962)
|
||||||
|
- Perf: Init map with size (PR: https://github.com/hibiken/asynq/pull/673)
|
||||||
|
- Fix: `Scheduler` and `PeriodicTaskManager` graceful shutdown (PR: https://github.com/hibiken/asynq/pull/977)
|
||||||
|
- Fix: `Server` graceful shutdown on UNIX systems (PR: https://github.com/hibiken/asynq/pull/982)
|
||||||
|
|
||||||
## [0.25.0] - 2024-10-29
|
## [0.25.0] - 2024-10-29
|
||||||
|
|
||||||
### Upgrades
|
### Upgrades
|
||||||
|
@ -23,7 +23,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// Version of asynq library and CLI.
|
// Version of asynq library and CLI.
|
||||||
const Version = "0.25.0"
|
const Version = "0.25.1"
|
||||||
|
|
||||||
// DefaultQueueName is the queue name used if none are specified by user.
|
// DefaultQueueName is the queue name used if none are specified by user.
|
||||||
const DefaultQueueName = "default"
|
const DefaultQueueName = "default"
|
||||||
|
@ -24,9 +24,11 @@ func (srv *Server) waitForSignals() {
|
|||||||
if sig == unix.SIGTSTP {
|
if sig == unix.SIGTSTP {
|
||||||
srv.Stop()
|
srv.Stop()
|
||||||
continue
|
continue
|
||||||
}
|
} else {
|
||||||
|
srv.Stop()
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *Scheduler) waitForSignals() {
|
func (s *Scheduler) waitForSignals() {
|
||||||
|
Loading…
Reference in New Issue
Block a user