fix(params_getter): try to bind even if socket exists

This commit is contained in:
Itai Bohadana
2025-09-02 13:14:48 +03:00
parent 9f6fbd6e04
commit cf1f636527

View File

@@ -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))