diff --git a/record-and-playback/core/lib/recordandplayback/workers/archive_worker.rb b/record-and-playback/core/lib/recordandplayback/workers/archive_worker.rb old mode 100644 new mode 100755 index 747fbb79e1d89cc12638c4f43dae6768073b0fa4..9f1058a2de1a52585318a553b34ff7184b13d8ee --- a/record-and-playback/core/lib/recordandplayback/workers/archive_worker.rb +++ b/record-and-playback/core/lib/recordandplayback/workers/archive_worker.rb @@ -27,7 +27,12 @@ module BigBlueButton @logger.info("Running archive worker for #{@full_id}") @publisher.put_archive_started(@meeting_id) - remove_status_files + # Keep the status files so we can still track + # the recording progress. We need these at the moment + # for the monitoring tools to continue to work. + # We need to find a better way (storing in redis?) + # in the future to be able to monitor progress. + #remove_status_files script = File.join(BigBlueButton.rap_scripts_path, 'archive', 'archive.rb') if @break_timestamp.nil? diff --git a/record-and-playback/core/lib/recordandplayback/workers/process_worker.rb b/record-and-playback/core/lib/recordandplayback/workers/process_worker.rb old mode 100644 new mode 100755 index 2f00d9a630665f435a9fe627ce28438565e46d25..66fb0403132ac25714b072e3c6138b0e1af7d798 --- a/record-and-playback/core/lib/recordandplayback/workers/process_worker.rb +++ b/record-and-playback/core/lib/recordandplayback/workers/process_worker.rb @@ -29,7 +29,12 @@ module BigBlueButton script = File.join(BigBlueButton.rap_scripts_path, 'process', "#{@format_name}.rb") if File.exist?(script) - remove_status_files + # Keep the status files so we can still track + # the recording progress. We need these at the moment + # for the monitoring tools to continue to work. + # We need to find a better way (storing in redis?) + # in the future to be able to monitor progress. + #remove_status_files @publisher.put_process_started(@format_name, @meeting_id) diff --git a/record-and-playback/core/lib/recordandplayback/workers/publish_worker.rb b/record-and-playback/core/lib/recordandplayback/workers/publish_worker.rb old mode 100644 new mode 100755 index 982e7d61fbe2a70a95e760688812f9549f82e190..6e658f14ec3d6c136eace80e8d666cc45cf5888f --- a/record-and-playback/core/lib/recordandplayback/workers/publish_worker.rb +++ b/record-and-playback/core/lib/recordandplayback/workers/publish_worker.rb @@ -35,7 +35,13 @@ module BigBlueButton # If the publish directory exists, the script does nothing FileUtils.rm_rf("#{@recording_dir}/publish/#{@format_name}/#{@full_id}") - remove_status_files + + # Keep the status files so we can still track + # the recording progress. We need these at the moment + # for the monitoring tools to continue to work. + # We need to find a better way (storing in redis?) + # in the future to be able to monitor progress. + #remove_status_files # For legacy reasons, the meeting ID passed to the publish script contains # the playback format name. diff --git a/record-and-playback/core/lib/recordandplayback/workers/sanity_worker.rb b/record-and-playback/core/lib/recordandplayback/workers/sanity_worker.rb old mode 100644 new mode 100755 index 16e7e5874c7ed91c9316714b1fc4619df33e05a3..04544bbfdb9541e721d8b183de0865dc88f853a0 --- a/record-and-playback/core/lib/recordandplayback/workers/sanity_worker.rb +++ b/record-and-playback/core/lib/recordandplayback/workers/sanity_worker.rb @@ -27,7 +27,12 @@ module BigBlueButton @logger.info("Running sanity worker for #{@full_id}") @publisher.put_sanity_started(@meeting_id) - remove_status_files + # Keep the status files so we can still track + # the recording progress. We need these at the moment + # for the monitoring tools to continue to work. + # We need to find a better way (storing in redis?) + # in the future to be able to monitor progress. + #remove_status_files script = File.join(BigBlueButton.rap_scripts_path, 'sanity', 'sanity.rb') if @break_timestamp.nil?