oops; add missing return statement from server.send
This commit is contained in:
parent
1c7caf9039
commit
b8ddc6883d
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ class Server(IServer):
|
|||
async def send(self, line: Line, priority=SendPriority.DEFAULT) -> Future:
|
||||
prio_line = SentLine(priority, line)
|
||||
await self._write_queue.put(prio_line)
|
||||
prio_line.future
|
||||
return prio_line.future
|
||||
|
||||
def set_throttle(self, rate: int, time: float):
|
||||
self.throttle.rate_limit = rate
|
||||
|
|
Loading…
Reference in a new issue