mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Lint
This commit is contained in:
parent
6474d56bbe
commit
696862fa99
@ -166,7 +166,6 @@ class Maintenance(multiprocessing.Process):
|
|||||||
if now - last >= self.opts['search_index_interval']:
|
if now - last >= self.opts['search_index_interval']:
|
||||||
self.search.index()
|
self.search.index()
|
||||||
|
|
||||||
|
|
||||||
def handle_key_rotate(self, now):
|
def handle_key_rotate(self, now):
|
||||||
'''
|
'''
|
||||||
Rotate the AES key on a schedule
|
Rotate the AES key on a schedule
|
||||||
@ -256,7 +255,6 @@ class Master(SMaster):
|
|||||||
)
|
)
|
||||||
SMaster.__init__(self, opts)
|
SMaster.__init__(self, opts)
|
||||||
|
|
||||||
|
|
||||||
def __set_max_open_files(self):
|
def __set_max_open_files(self):
|
||||||
# Let's check to see how our max open files(ulimit -n) setting is
|
# Let's check to see how our max open files(ulimit -n) setting is
|
||||||
mof_s, mof_h = resource.getrlimit(resource.RLIMIT_NOFILE)
|
mof_s, mof_h = resource.getrlimit(resource.RLIMIT_NOFILE)
|
||||||
|
Loading…
Reference in New Issue
Block a user