Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Priority Queue Implementation #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

seanlaii
Copy link
Owner

What type of PR is this?

What this PR does / why we need it:

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


@seanlaii seanlaii force-pushed the priority-queue branch 2 times, most recently from ab5c8cb to e6a690b Compare August 21, 2024 11:48
s.queue.Add(key)
s.queue.Add(priorityqueue.DataWithPriority{
Key: key,
Priority: 1,
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add default priority.

@seanlaii seanlaii force-pushed the priority-queue branch 7 times, most recently from 3dd7507 to f11ef8b Compare August 23, 2024 17:12
workqueue.DelayingQueueConfig{
Name: queueName,
Clock: clock,
Queue: priorityqueue.NewWithConfig(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we add a Featuregateway to allow user default to the fifo queue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants