-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Add the ASYNCIFY_STACK_SIZE to the MEM_SIZE_SETTINGS #23357
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
Add the ASYNCIFY_STACK_SIZE to the MEM_SIZE_SETTINGS #23357
Conversation
sbc100
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm! Maybe we should add a test though?
|
Hi @sbc100
Unfortunately, I'm not familiar with your test infrastructure. Is there any specific place where such a test should be added? I have not yet been able to find a place where these size suffixes would be tested at all. |
|
How about adding |
Sure, thank you! |
tools/settings.py
Outdated
| 'MAXIMUM_MEMORY', | ||
| 'DEFAULT_PTHREAD_STACK_SIZE' | ||
| 'DEFAULT_PTHREAD_STACK_SIZE', | ||
| 'ASYNCIFY_STACK_SIZE' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a trailing comma here so future additions can just be single line change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, done.
Currently it is impossible to use kb/mb/gb for
ASYNCIFY_STACK_SIZE, although, in theory, it should work.