mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 01:14:36 +02:00
...
This commit is contained in:
parent
eda12b1507
commit
9334ab524e
1 changed files with 2 additions and 2 deletions
|
|
@ -468,7 +468,7 @@ def tick(self):
|
|||
(readable if conn.read_buffer.has_data else read_needed).append(s)
|
||||
|
||||
for s, conn in remove:
|
||||
self.log.debug('Closing connection because of extended inactivity')
|
||||
self.log('Closing connection because of extended inactivity: %s' % conn.state_description)
|
||||
self.close(s, conn)
|
||||
|
||||
if readable:
|
||||
|
|
@ -505,7 +505,7 @@ def tick(self):
|
|||
if not conn.ready:
|
||||
self.close(s, conn)
|
||||
except JobQueueFull:
|
||||
self.log.exception('Server busy handling request: ' % conn.state_description)
|
||||
self.log.exception('Server busy handling request: %s' % conn.state_description)
|
||||
if conn.ready:
|
||||
if conn.response_started:
|
||||
self.close(s, conn)
|
||||
|
|
|
|||
Loading…
Reference in a new issue