mirror of https://gitlab.com/ita1024/waf.git
Merge branch 'wafcache_error_parclean' into 'master'
wafcache: fix reporting of concurrent trim error See merge request ita1024/waf!2312
This commit is contained in:
commit
57bdad7822
|
@ -400,8 +400,8 @@ def lru_evict():
|
|||
try:
|
||||
fcntl.flock(fd, fcntl.LOCK_EX | fcntl.LOCK_NB)
|
||||
except EnvironmentError:
|
||||
if Logs.verbose:
|
||||
Logs.debug('wafcache: another cleaning process is running')
|
||||
if WAFCACHE_VERBOSITY:
|
||||
sys.stderr.write('wafcache: another cleaning process is running\n')
|
||||
else:
|
||||
# now dow the actual cleanup
|
||||
lru_trim()
|
||||
|
|
Loading…
Reference in New Issue