mirror of https://gitlab.com/bashrc2/epicyon
Debug
parent
607c0aa40e
commit
c687d0ce52
|
@ -791,6 +791,11 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
"""
|
||||
# if the inbox queue is full then return a busy code
|
||||
if len(self.server.inboxQueue) >= self.server.maxQueueLength:
|
||||
if messageJson.get('actor'):
|
||||
print('Queue: Inbox queue is full. Incoming post from ' +
|
||||
messageJson['actor'])
|
||||
else:
|
||||
print('Queue: Inbox queue is full')
|
||||
self._503()
|
||||
self.server.POSTbusy = False
|
||||
return 2
|
||||
|
|
Loading…
Reference in New Issue