From 15dda5036567e972a7fec20cf8baf7736baa2a0a Mon Sep 17 00:00:00 2001 From: Ankush Menat Date: Mon, 9 Jun 2025 15:22:23 +0530 Subject: [PATCH] Revert "fix: Pin web workers by default (#31739)" (#32852) This reverts commit 4533f9258272c9bdaffd17dc96fde6df5f012d84. --- frappe/_optimizations.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frappe/_optimizations.py b/frappe/_optimizations.py index b4fbb8f47d..2eaad68135 100644 --- a/frappe/_optimizations.py +++ b/frappe/_optimizations.py @@ -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]):