forked from indymedia/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 the inbox queue is full then return a busy code
|
||||||
if len(self.server.inboxQueue) >= self.server.maxQueueLength:
|
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._503()
|
||||||
self.server.POSTbusy = False
|
self.server.POSTbusy = False
|
||||||
return 2
|
return 2
|
||||||
|
|
Loading…
Reference in New Issue