You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Number of workers are right now determined based on CPU count if redis is enabled.
This might not always be desired for instance if reflex runs as part of a k8s deployment and os.cpu_count() returns the number of cores on the node, not the pod.
Describe the bug
Number of workers are right now determined based on CPU count if redis is enabled.
This might not always be desired for instance if reflex runs as part of a k8s deployment and
os.cpu_count()
returns the number of cores on the node, not the pod.To Reproduce
Steps to reproduce the behavior:
reflex/reflex/utils/processes.py
Lines 31 to 48 in 656914e
Expected behavior
Being able to specify the number of workers through an env var.
Screenshots
If applicable, add screenshots to help explain your problem.
Specifics (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: