diff options
Diffstat (limited to 'src/lib/Server/Core.py')
-rw-r--r-- | src/lib/Server/Core.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Server/Core.py b/src/lib/Server/Core.py index d08782ff6..f139ef99b 100644 --- a/src/lib/Server/Core.py +++ b/src/lib/Server/Core.py @@ -117,10 +117,10 @@ class Core(Component): while not terminate.isSet(): try: if famfd: - select.select([famfd], [], [], 15) + select.select([famfd], [], [], 2) else: if not self.fam.pending(): - time.sleep(15) + terminate.wait(15) self.fam.handle_event_set(self.lock) except: continue |