Added gevent magic.
This commit is contained in:
parent
2527fa2e1a
commit
75ba2d8e90
|
@ -250,3 +250,6 @@ class Manager(Loggable):
|
|||
notifier = pyinotify.Notifier(self.wm)
|
||||
notifier.coalesce_events()
|
||||
notifier.loop()
|
||||
#import asyncore
|
||||
#notifier = pyinotify.AsyncNotifier(self.wm)
|
||||
#asyncore.loop()
|
||||
|
|
|
@ -23,6 +23,10 @@ from std_err_override import LogWriter
|
|||
import media.monitor.pure as mmp
|
||||
from api_clients import api_client as apc
|
||||
|
||||
import gevent.monkey
|
||||
|
||||
gevent.monkey.patch_all(select=False)
|
||||
|
||||
|
||||
def main(global_config, api_client_config, log_config,
|
||||
index_create_attempt=False):
|
||||
|
|
Binary file not shown.
|
@ -10,3 +10,4 @@ wsgiref==0.1.2
|
|||
configobj==4.7.2
|
||||
mutagen==1.20
|
||||
docopt==0.4.2
|
||||
gevent==0.13.7
|
||||
|
|
Loading…
Reference in New Issue