Recording: Halt processing after archive step for non-recorded meetings
In the case where a meeting had recording enabled (record=true on create call) but the presenter did not start recording during the meeting, recording processing needs to be stopped after the meeting data is archived, but before the recording formats are processed. In the current 2.3 code, processing is halted after the "sanity" step. However, the 2.2 code stopped processing after the "archive" step instead. The main difference is that the scripts in the "post_archive" directory (which are actually post_sanity scripts) did not get run on non-recorded meetings for 2.2. This behaviour should be preserved for compatibility. I have added a special exception to trigger halting processing for a recording job without causing the entire resque job to be marked as failed. It only causes the `schedule_next_step` method to be skipped, so following jobs won't get automatically run. This fixes #11877
Showing
- record-and-playback/core/lib/recordandplayback/workers/archive_worker.rb 4 additions, 3 deletions...back/core/lib/recordandplayback/workers/archive_worker.rb
- record-and-playback/core/lib/recordandplayback/workers/base_worker.rb 14 additions, 0 deletions...layback/core/lib/recordandplayback/workers/base_worker.rb
- record-and-playback/core/lib/recordandplayback/workers/sanity_worker.rb 1 addition, 5 deletions...yback/core/lib/recordandplayback/workers/sanity_worker.rb
Please register or sign in to comment