@@ -2704,7 +2704,7 @@ def execute_shm_task(
27042704 code : str ,
27052705 shm_in : Dict [str , Any ],
27062706 shm_out : Dict [str , Any ],
2707- timeout : float = 240.0 ,
2707+ timeout : float = None , # <--- Block forever
27082708 ) -> Dict [str , Any ]:
27092709 """Execute task with timeout."""
27102710 with self .lock :
@@ -4311,7 +4311,7 @@ def _execute_code(
43114311 code ,
43124312 shm_in ,
43134313 shm_out ,
4314- timeout = worker_info .get ("task_timeout" , int (os .environ .get ("OMNIPKG_WORKER_TIMEOUT" , 360 ))),
4314+ timeout = worker_info .get ("task_timeout" , int (os .environ .get ("OMNIPKG_WORKER_TIMEOUT" , 864000 ))),
43154315 )
43164316 # ── IMMEDIATE EVICTION IF NESTED SWITCHING OCCURRED ────────
43174317 _has_tag = bool (worker_tag )
@@ -4353,7 +4353,7 @@ def _execute_code(
43534353 code ,
43544354 shm_in ,
43554355 shm_out ,
4356- timeout = worker_info .get ("task_timeout" , int (os .environ .get ("OMNIPKG_WORKER_TIMEOUT" , 360 ))),
4356+ timeout = worker_info .get ("task_timeout" , int (os .environ .get ("OMNIPKG_WORKER_TIMEOUT" , 864000 ))),
43574357 )
43584358 return result
43594359 except Exception as e :
@@ -4445,7 +4445,7 @@ def _execute_code(
44454445 code ,
44464446 shm_in ,
44474447 shm_out ,
4448- timeout = worker_info .get ("task_timeout" , int (os .environ .get ("OMNIPKG_WORKER_TIMEOUT" , 360 ))),
4448+ timeout = worker_info .get ("task_timeout" , int (os .environ .get ("OMNIPKG_WORKER_TIMEOUT" , 864000 ))),
44494449 )
44504450 return result
44514451 except Exception as e :
0 commit comments