mirror of
https://github.com/bigbluebutton/docker.git
synced 2025-01-23 14:08:35 +01:00
fix infinite loop
This commit is contained in:
parent
78a38656bb
commit
0d082467df
@ -11,6 +11,7 @@ def file_monitor(event_to_check):
|
||||
done_files = glob.glob(PATH_MONITOR + event_to_check + "/*.done") # List
|
||||
while len(done_files) == 0:
|
||||
time.sleep(5)
|
||||
done_files = glob.glob(PATH_MONITOR + event_to_check + "/*.done") # List
|
||||
subprocess.Popen("/usr/local/bigbluebutton/scripts/rap-"+event_to_check+"-worker.rb", cwd="/usr/local/bigbluebutton/core/scripts")
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
Loading…
Reference in New Issue
Block a user