Add a timestamp to recent_sends for EACH line sent
This commit is contained in:
parent
4e0e63e7f8
commit
105351d6f3
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ class Socket(IRCObject.Object):
|
||||||
self.bytes_written += bytes_written_i
|
self.bytes_written += bytes_written_i
|
||||||
|
|
||||||
now = time.monotonic()
|
now = time.monotonic()
|
||||||
self._recent_sends.append(now)
|
self._recent_sends.extend([now]*lines_sent)
|
||||||
self.last_send = now
|
self.last_send = now
|
||||||
|
|
||||||
return sent_lines
|
return sent_lines
|
||||||
|
|
Loading…
Reference in a new issue