From 88ac2ac06ab1eabe663658261073d3fa78b06c8d Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 20 Jun 2026 03:29:58 +0000 Subject: [PATCH] fix(wolf-pair): set allow_reuse_address so restarts don't hit EADDRINUSE HTTPServer.allow_reuse_address must be set before __init__ calls server_bind(). Setting it as a class attribute before instantiation is the correct pattern. Co-Authored-By: Claude Sonnet 4.6 Claude-Session: https://claude.ai/code/session_01D8ckUJQtj1pH8jtAddBDZs --- services/wolf-pair.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/services/wolf-pair.sh b/services/wolf-pair.sh index 59effce..a7a94a1 100644 --- a/services/wolf-pair.sh +++ b/services/wolf-pair.sh @@ -384,6 +384,7 @@ class Handler(BaseHTTPRequestHandler): if __name__ == '__main__': + HTTPServer.allow_reuse_address = True HTTPServer(('0.0.0.0', 8090), Handler).serve_forever() PYEOF log_success "server.py written"