added throttling
This commit is contained in:
parent
f9f3f9527e
commit
f21c26677b
|
@ -1,5 +1,5 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
import time
|
||||
import media.monitor.pure as mmp
|
||||
import media.monitor.owners as owners
|
||||
from media.monitor.handler import ReportHandler
|
||||
|
@ -72,6 +72,8 @@ class Organizer(ReportHandler,Loggable):
|
|||
directory=d)
|
||||
return cb
|
||||
|
||||
time.sleep(0.1)
|
||||
|
||||
mmp.magic_move(event.path, new_path,
|
||||
after_dir_make=new_dir_watch(dirname(new_path)))
|
||||
|
||||
|
|
Loading…
Reference in New Issue