|
|
@@ -45,7 +45,7 @@ local = Local() |
|
|
|
STANDARD_USERS = ("Guest", "Administrator") |
|
|
|
|
|
|
|
_dev_server = int(sbool(os.environ.get("DEV_SERVER", False))) |
|
|
|
_qb_patched = False |
|
|
|
_qb_patched = {} |
|
|
|
re._MAXCACHE = ( |
|
|
|
50 # reduced from default 512 given we are already maintaining this on parent worker |
|
|
|
) |
|
|
@@ -243,7 +243,7 @@ def init(site, sites_path=None, new_site=False): |
|
|
|
|
|
|
|
setup_module_map() |
|
|
|
|
|
|
|
if not _qb_patched: |
|
|
|
if not _qb_patched.get(local.conf.db_type): |
|
|
|
patch_query_execute() |
|
|
|
patch_query_aggregation() |
|
|
|
|
|
|
|