fix: too-long-line warning

This commit is contained in:
n.feofanov 2023-10-04 15:27:31 +03:00
parent 6e375850c1
commit 161f6d0fad

View File

@ -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):