fix: too-long-line warning
This commit is contained in:
parent
6e375850c1
commit
161f6d0fad
|
@ -216,7 +216,9 @@ class HttpProtocol(HttpProtocolMixin, SanicProtocol, metaclass=TouchUpMeta):
|
|||
)
|
||||
/ 2
|
||||
)
|
||||
self._callback_check_timeouts = self.loop.call_later(max(0.1, interval), self.check_timeouts)
|
||||
_interval = max(0.1, interval)
|
||||
self._callback_check_timeouts = \
|
||||
self.loop.call_later(_interval, self.check_timeouts)
|
||||
return
|
||||
cancel_msg_args = ()
|
||||
if sys.version_info >= (3, 9):
|
||||
|
|
Loading…
Reference in New Issue
Block a user