File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
inference/core/interfaces/webrtc_worker Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -466,7 +466,7 @@ async def init_rtc_peer_connection_with_loop(
466466 webrtc_request : WebRTCWorkerRequest ,
467467 send_answer : Callable [[WebRTCWorkerResult ], None ],
468468 asyncio_loop : Optional [asyncio .AbstractEventLoop ] = None ,
469- shutdown_contingency : int = WEBRTC_MODAL_SHUTDOWN_RESERVE ,
469+ shutdown_reserve : int = WEBRTC_MODAL_SHUTDOWN_RESERVE ,
470470) -> RTCPeerConnectionWithLoop :
471471 termination_date = None
472472 terminate_event = asyncio .Event ()
@@ -478,7 +478,7 @@ async def init_rtc_peer_connection_with_loop(
478478 if datetime_now is None :
479479 datetime_now = datetime .datetime .now ()
480480 termination_date = datetime_now + datetime .timedelta (
481- seconds = time_limit_seconds - shutdown_contingency
481+ seconds = time_limit_seconds - shutdown_reserve
482482 )
483483 logger .info (
484484 "Setting termination date to %s (%s seconds from %s)" ,
You can’t perform that action at this time.
0 commit comments