mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-26 07:25:56 +03:00
[PR #564] expose semaphore lock count #782
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#782
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/564
Author: @ajatprabha
Created: 10/22/2022
Status: 🔄 Open
Base:
master← Head:expose-lock-count📝 Commits (2)
c8db042expose semaphore lock count6021356update doc comment📊 Changes
2 files changed (+48 additions, -0 deletions)
View changed files
📝
x/rate/semaphore.go(+5 -0)📝
x/rate/semaphore_test.go(+43 -0)📄 Description
LockCount method returns the current cardinality of the set. This is helpful for metric collection purpose.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.