fix(params_getter): try to bind even if socket exists
This commit is contained in:
@@ -136,7 +136,7 @@ async def serve_socket():
|
||||
|
||||
if python_socket_path.exists():
|
||||
print(python_socket_path)
|
||||
return
|
||||
|
||||
atexit.register(lambda: _close_socket(python_socket_path))
|
||||
|
||||
signal.signal(signal.SIGTERM, lambda x, _: _close_socket(python_socket_path))
|
||||
|
Reference in New Issue
Block a user