mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-26 07:25:56 +03:00
[PR #673] [MERGED] fix: queues map init with size #810
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#810
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/673
Author: @ghosx
Created: 6/25/2023
Status: ✅ Merged
Merged: 11/11/2024
Merged by: @kamikazechaser
Base:
master← Head:feature/queuesInitWithSize📝 Commits (1)
e99a0f6fix: queues map init with size📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
internal/base/base.go(+2 -2)📄 Description
Initializing the queue can improve performance and reduce the number of map expansions. When there are 10 queues, the following is my performance test:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.