-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Defaults on queue.lua not working as expected #13729
Comments
Yep, same here: |
IMO it's unclear whether the default value is for plugin configurations or the queue PDK APIs from the changelog. I suppose it's logical also to support the same default value for PDK calls. @vm-001 What do you think? |
@SomnolentKalash @maxipavlovic Are you using the Using The workaround would be local queue_conf = {
...
concurrency_limit = 1,
}
Queue.enqueue(queue_conf, handler, handler_conf, message) |
This issue is marked as stale because it has been open for 14 days with no activity. |
This issue is marked as stale because it has been open for 14 days with no activity. |
Is there an existing issue for this?
Kong version (
$ kong version
)3.8.0.0
Current Behavior
Using queue.enqueue with queue config, instead of populating defaults from schema it is asserting the config directly causing queue to fail post concurrency_limit has been added, Need you to populate the defaults first when queue conf is passed in enqueue function
Expected Behavior
No response
Steps To Reproduce
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: