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())
|
signal(SIGTERM, lambda s, f: stop_event.set())
|
||||||
|
|
||||||
processes = []
|
processes = []
|
||||||
for w in range(workers):
|
for _ in range(workers):
|
||||||
process = Process(target=serve, kwargs=server_settings)
|
process = Process(target=serve, kwargs=server_settings)
|
||||||
process.start()
|
process.start()
|
||||||
processes.append(process)
|
processes.append(process)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user