w is unused variable to it is safe to suppress Pylint warning using _
(underscore)
This commit is contained in:
parent
201e232a0d
commit
963aef19e0
|
@ -296,7 +296,7 @@ class Sanic:
|
|||
signal(SIGTERM, lambda s, f: stop_event.set())
|
||||
|
||||
processes = []
|
||||
for w in range(workers):
|
||||
for _ in range(workers):
|
||||
process = Process(target=serve, kwargs=server_settings)
|
||||
process.start()
|
||||
processes.append(process)
|
||||
|
|
Loading…
Reference in New Issue
Block a user