From c687d0ce529d4dad4043a8a6c3f8b22789e81e63 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 16 Apr 2020 12:57:13 +0100 Subject: [PATCH] Debug --- daemon.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/daemon.py b/daemon.py index f32bfc55..3263aa3b 100644 --- a/daemon.py +++ b/daemon.py @@ -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