mirror of https://gitlab.com/ita1024/waf.git
Reduce wafcache verbosity on cleanup operations
This commit is contained in:
parent
6a5753da93
commit
6ed66ce90b
|
@ -378,8 +378,8 @@ def lru_evict():
|
|||
try:
|
||||
fcntl.flock(fd, fcntl.LOCK_EX | fcntl.LOCK_NB)
|
||||
except EnvironmentError:
|
||||
sys.stderr.write('another process is running!\n')
|
||||
pass
|
||||
if Logs.verbose:
|
||||
Logs.debug('wafcache: another cleaning process is running')
|
||||
else:
|
||||
# now dow the actual cleanup
|
||||
lru_trim()
|
||||
|
|
Loading…
Reference in New Issue