fix the condition for mconf-decrypter job to process an encrypted recording
because of the wrong condition, mconf-decrypter was reprocessing all the recordings available
This commit is contained in:
parent
f9ef1b4edd
commit
6929b4817e
@ -69,7 +69,7 @@ def fetchRecordings(url)
|
||||
decrypted_file = File.basename(encrypted_file, '.*') + ".zip"
|
||||
# can't check only for archived.done because when the file is published, the archived flag is removed
|
||||
# so we check for any .done file
|
||||
if not Dir.glob("#{$recording_dir}/status/**/#{record_id}*.done").empty? then
|
||||
if Dir.glob("#{$recording_dir}/status/**/#{record_id}*.done").empty? then
|
||||
Dir.chdir($raw_dir) do
|
||||
BigBlueButton.logger.info("Next recording to be processed is #{meeting_id}")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user