diff --git a/supervisor/http.py b/supervisor/http.py index f65daf142..e5559209a 100644 --- a/supervisor/http.py +++ b/supervisor/http.py @@ -336,9 +336,9 @@ def writable(self, t=time.time): if self.delay: # we called a deferred producer via this channel (see refill_buffer) last_writable_check = self.writable_check - self.writable_check = now elapsed = now - last_writable_check if elapsed > self.delay: + self.writable_check = now return True else: return False