This reverts commit 4533f92582.
This commit is contained in:
parent
dda62ff784
commit
15dda50365
1 changed files with 1 additions and 3 deletions
|
|
@ -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]):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue