Skip to content

Commit

Permalink
Upgrade bigbluebutton_rails for latest getStats changes
Browse files Browse the repository at this point in the history
  • Loading branch information
daronco committed Jul 5, 2017
1 parent 4d46cce commit 34c70af
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ GIT

GIT
remote: https://github.com/mconf/bigbluebutton_rails.git
revision: 74f370b9f31a1cc7659cc5e787fcfdd291a4db65
revision: 5444ec51f44bfb66d7d580f831eb3b24ab1d41a5
branch: master
specs:
bigbluebutton_rails (2.1.0)
Expand Down
15 changes: 7 additions & 8 deletions config/workers_schedule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,33 +36,32 @@ send_participant_confirmations_notifications:
finish_meetings:
every:
- "30s"
class: BigbluebuttonFinishMeetings
class: BigbluebuttonFinishMeetingsWorker
queue: low
description: "Checks for meetings that finished and mark as finished. Same as 'rake bigbluebutton_rails:meetings:finish'."

get_stats:
every:
- "2m"
class: BigbluebuttonGetStats
queue: low
description: "Checks for meeting's stats. Currently works on Mconf-Live servers and will get a list of participants and meeting duration. Same as 'rake bigbluebutton_rails:meetings:get_stats'"
- "12h"
class: BigbluebuttonGetStatsForRecentWorker
description: "Gets stats for recent meetings that have no stats yet. Same as 'rake bigbluebutton_rails:meetings:get_stats' but for only a subset of meetings."

update_recordings:
every:
- "30m"
class: BigbluebuttonUpdateRecordings
class: BigbluebuttonUpdateRecordingsWorker
queue: low
description: "Gets the recordings in the server to populate the db. Same as 'rake bigbluebutton_rails:recordings:update'."

update_server_configs:
every:
- "1h"
class: BigbluebuttonUpdateServerConfigs
class: BigbluebuttonUpdateServerConfigsWorker
queue: low
description: "Updates the server configs that are stored locally. Same as 'rake bigbluebutton_rails:server_configs:update'."

update_space_relevance_indexes:
cron: "0 4 * * *" # daily at 4am
class: UpdateSpaceRelevanceIndexesWorker
queue: low
description: "Recalculate and update indexes used for ordering spaces in the spaces#index page."
description: "Recalculate and update indexes used for ordering spaces in the spaces#index page."
2 changes: 1 addition & 1 deletion db/migrate/20170531162723_bigbluebutton_rails_to220b.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ class BigbluebuttonRailsTo220b < ActiveRecord::Migration
def up
create_table :bigbluebutton_attendees do |t|
t.string :user_id
t.string :extern_user_id
t.string :external_user_id
t.string :user_name
t.decimal :join_time, precision: 14, scale: 0
t.decimal :left_time, precision: 14, scale: 0
Expand Down
2 changes: 1 addition & 1 deletion db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@

create_table "bigbluebutton_attendees", force: true do |t|
t.string "user_id"
t.string "extern_user_id"
t.string "external_user_id"
t.string "user_name"
t.decimal "join_time", precision: 14, scale: 0
t.decimal "left_time", precision: 14, scale: 0
Expand Down

0 comments on commit 34c70af

Please sign in to comment.