Skip to content

Commit

Permalink
recordings sync rake task now sets recordings_processing for room bac…
Browse files Browse the repository at this point in the history
…k to 0 (bigbluebutton#5745)
  • Loading branch information
SilentFlameCR authored Mar 11, 2024
1 parent c5a16e7 commit 35a7227
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/tasks/server_recordings_sync.rake
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ task :server_recordings_sync, %i[provider] => :environment do |_task, args|

recordings = BigBlueButtonApi.new(provider: args[:provider]).get_recordings(meeting_ids:)

rooms.update_all(recordings_processing: 0) # rubocop:disable Rails/SkipsModelValidations

next if recordings[:recordings].blank?

# Skip the entire batch if the first and last recordings exist
Expand Down

0 comments on commit 35a7227

Please sign in to comment.