From 7b83471e6c5edd00a8e892bd1a0953887f64eb4b Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Wed, 24 Feb 2016 08:04:04 -0800 Subject: [PATCH] Update backend_reader docstring --- daphne/server.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/daphne/server.py b/daphne/server.py index e56b35b..88ed54c 100755 --- a/daphne/server.py +++ b/daphne/server.py @@ -23,7 +23,8 @@ class Server(object): def backend_reader(self): """ - Run in a separate thread; reads messages from the backend. + Runs as an-often-as-possible task with the reactor, unless there was + no result previously in which case we add a small delay. """ channels = self.factory.reply_channels() delay = 0.05