- `--fail2ban` in wo stack upgrade
- error with `wo maintenance`
- php-igbinary missing for php74 (run `wo stack upgrade` to install it)
- opcache reset with `wo clean`
This commit is contained in:
VirtuBox
2019-12-04 23:34:03 +01:00
committed by GitHub
parent 01ee8c0a13
commit 9f22455770
14 changed files with 167 additions and 100 deletions

View File

@@ -65,7 +65,7 @@ class LogWatcher(object):
def __del__(self):
self.close()
def loop(self, interval=0.1, async=False):
def loop(self, interval=0.1, req_async=False):
"""Start the loop.
If async is True make one loop then return.
"""
@@ -73,7 +73,7 @@ class LogWatcher(object):
self.update_files()
for fid, file in list(iter(self.files_map.items())):
self.readfile(file)
if async:
if req_async:
return
time.sleep(interval)