MCPcopy Create free account
hub / github.com/PromtEngineer/localGPT / ReusableTCPServer

Class ReusableTCPServer

rag_system/api_server_with_progress.py:417–418  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

415
416 # Use a custom TCPServer that allows address reuse
417 class ReusableTCPServer(socketserver.TCPServer):
418 allow_reuse_address = True
419
420 with ReusableTCPServer(("", port), EnhancedRagApiHandler) as httpd:
421 print(f"🚀 Starting Enhanced RAG API server on port {port}")

Callers 1

start_enhanced_serverFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected