mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
fix typo
This commit is contained in:
parent
4b53236034
commit
860895c03d
@ -56,7 +56,7 @@ class GeventWorker(AsyncWorker):
|
||||
self.socket.setblocking(1)
|
||||
|
||||
pool = Pool(self.worker_connections)
|
||||
if self.server_class is not None
|
||||
if self.server_class is not None:
|
||||
server = self.server_class(
|
||||
self.socket, application=self.wsgi, spawn=pool, log=self.log,
|
||||
handler_class=self.wsgi_handler)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user