mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-26 15:35:55 +03:00
[PR #85] [MERGED] Share memory by communicating 👍 #2613
Labels
No labels
CLI
bug
designing
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
idea
invalid
investigate
needs-more-info
performance
pr-welcome
pull-request
question
wontfix
work in progress
work in progress
work-around-available
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asynq#2613
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hibiken/asynq/pull/85
Author: @hibiken
Created: 2/16/2020
Status: ✅ Merged
Merged: 2/17/2020
Merged by: @hibiken
Base:
master← Head:fix/process-info📝 Commits (4)
6314e38Make heartbeater goroutine a monitor goroutine for process info.c1f2792Use sync.WaitGroup for shutdownf2333f8Clean up heartbeater test67565ebFix data race in subscriber test📊 Changes
13 files changed (+145 additions, -110 deletions)
View changed files
📝
background.go(+24 -15)📝
heartbeat.go(+25 -6)📝
heartbeat_test.go(+27 -11)📝
internal/base/base.go(+0 -22)📝
internal/base/base_test.go(+0 -28)📝
processor.go(+14 -10)📝
processor_test.go(+26 -11)📝
scheduler.go(+4 -1)📝
scheduler_test.go(+3 -1)📝
subscriber.go(+5 -1)📝
subscriber_test.go(+8 -1)📝
syncer.go(+4 -1)📝
syncer_test.go(+5 -2)📄 Description
Avoid the use of shared memory with mutex.
Changes made:
ProcessInfovariable to the heartbeater goroutine🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.