mirror of
https://github.com/bigbluebutton/docker.git
synced 2024-11-23 00:23:25 +01:00
fix time sleep error
This commit is contained in:
parent
e304bebe9c
commit
78a38656bb
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import os
|
||||
import time
|
||||
import argparse
|
||||
import subprocess
|
||||
import glob
|
||||
@ -10,7 +10,7 @@ PATH_MONITOR = "/var/bigbluebutton/recording/status/"
|
||||
def file_monitor(event_to_check):
|
||||
done_files = glob.glob(PATH_MONITOR + event_to_check + "/*.done") # List
|
||||
while len(done_files) == 0:
|
||||
os.sleep(5)
|
||||
time.sleep(5)
|
||||
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