-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
feat: Provider.WorkerCount and stats reprovide cmd
#10779
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
Changes from 8 commits
05d0bb3
4e8d223
0e37989
62d51d6
b33c4fa
b0ba27c
0662522
cc02022
5d148b8
617d5c8
c65608c
30bdc15
9a04312
06e6618
b0f3bbd
74cf6af
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,10 @@ | ||
| package config | ||
|
|
||
| const ( | ||
| DefaultProviderWorkerCount = 64 | ||
| ) | ||
|
|
||
| type Provider struct { | ||
| Strategy string // Which keys to announce | ||
| Strategy string // Which keys to announce | ||
| WorkerCount OptionalInteger // Number of concurrent provides allowed, 0 means unlimited | ||
|
guillaumemichel marked this conversation as resolved.
Outdated
|
||
| } | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: renaming field names here is a breaking change to existing command. It will break compatibility with older RPC clients, libraries, and will also break user's scripts and automations. Mind adding a note about this to the Changelog? Since we have two queues, and they behave differently, I wonder if we should have
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I marked
|
Uh oh!
There was an error while loading. Please reload this page.