mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Remove redundant properties
This commit is contained in:
parent
bff593d9e4
commit
f14d4428bd
@ -119,14 +119,6 @@ class Config(object):
|
|||||||
worker_class.setup()
|
worker_class.setup()
|
||||||
return worker_class
|
return worker_class
|
||||||
|
|
||||||
@property
|
|
||||||
def threads(self):
|
|
||||||
return self.settings['threads'].get()
|
|
||||||
|
|
||||||
@property
|
|
||||||
def workers(self):
|
|
||||||
return self.settings['workers'].get()
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def address(self):
|
def address(self):
|
||||||
s = self.settings['bind'].get()
|
s = self.settings['bind'].get()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user