Revert "fix: Pin web workers by default (#31739)" (#32852)

This reverts commit 4533f92582.
This commit is contained in:
Ankush Menat 2025-06-09 15:22:23 +05:30 committed by GitHub
parent dda62ff784
commit 15dda50365
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -93,9 +93,7 @@ def freeze_gc():
def optimize_for_gil_contention():
from frappe.utils import sbool
if not bool(sbool(os.environ.get("FRAPPE_PERF_PIN_WORKERS", True))):
if not os.environ.get("FRAPPE_PERF_PIN_WORKERS"):
return
if "gunicorn" not in str(sys.argv[0]):