Remove much logging output in gateway (#393)

This commit is contained in:
cybermaggedon 2025-05-24 12:10:05 +01:00 committed by GitHub
parent 448819ed47
commit 3ed9274d84
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 2 additions and 14 deletions

View file

@ -65,8 +65,6 @@ class LibrarianRequestor(ServiceRequestor):
def from_response(self, message):
print(message)
response = {}
if message.document_metadata:

View file

@ -149,7 +149,6 @@ class Mux:
break
try:
print(id, svc, request)
await self.start_request_task(
self.ws, id, flow, svc, request, workers

View file

@ -82,8 +82,6 @@ class ServiceRequestor:
resp, fin = self.from_response(resp)
print(resp, fin, flush=True)
if responder:
await responder(resp, fin)

View file

@ -76,8 +76,6 @@ class ServiceRequestor:
resp, fin = self.from_inbound(resp)
print(resp, fin)
await self.receiver(resp, fin)
if fin: break

View file

@ -48,7 +48,6 @@ class TriplesQueryRequestor(ServiceRequestor):
)
def from_response(self, message):
print(message)
return {
"response": serialize_subgraph(message.triples)
}, True

View file

@ -47,10 +47,8 @@ class ConstantEndpoint:
data = await request.json()
print(data)
async def responder(x, fin):
print(x)
pass
resp = await self.dispatcher.process(data, responder)

View file

@ -47,10 +47,8 @@ class VariableEndpoint:
data = await request.json()
print(data)
async def responder(x, fin):
print(x)
pass
resp = await self.dispatcher.process(
data, responder, request.match_info