[PR #378] [MERGED] Fix bug related to concurrently executing server state changing operations (e.g. Shutdown) #1736

Closed
opened 2026-03-07 22:12:59 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hibiken/asynq/pull/378
Author: @hibiken
Created: 1/11/2022
Status: Merged
Merged: 1/12/2022
Merged by: @hibiken

Base: masterHead: fix/serverstate


📝 Commits (1)

  • 092fac5 Fix bug related to concurrently executing server state changing

📊 Changes

6 files changed (+124 additions, -125 deletions)

View changed files

📝 heartbeat.go (+7 -3)
📝 heartbeat_test.go (+11 -7)
📝 internal/base/base.go (+0 -62)
📝 internal/base/base_test.go (+0 -24)
📝 scheduler.go (+31 -10)
📝 server.go (+75 -19)

📄 Description

Closes #353


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hibiken/asynq/pull/378 **Author:** [@hibiken](https://github.com/hibiken) **Created:** 1/11/2022 **Status:** ✅ Merged **Merged:** 1/12/2022 **Merged by:** [@hibiken](https://github.com/hibiken) **Base:** `master` ← **Head:** `fix/serverstate` --- ### 📝 Commits (1) - [`092fac5`](https://github.com/hibiken/asynq/commit/092fac59ebe60b9242b4379dd969895fa40121d5) Fix bug related to concurrently executing server state changing ### 📊 Changes **6 files changed** (+124 additions, -125 deletions) <details> <summary>View changed files</summary> 📝 `heartbeat.go` (+7 -3) 📝 `heartbeat_test.go` (+11 -7) 📝 `internal/base/base.go` (+0 -62) 📝 `internal/base/base_test.go` (+0 -24) 📝 `scheduler.go` (+31 -10) 📝 `server.go` (+75 -19) </details> ### 📄 Description Closes #353 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-07 22:12:59 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asynq#1736
No description provided.