Skip to content
Snippets Groups Projects
Unverified Commit 68716bc6 authored by Ahmad Farhat's avatar Ahmad Farhat Committed by GitHub
Browse files

Added a flash message if the getMeetings call times out (#2232)

parent 3880e932
Branches
Tags
No related merge requests found
......@@ -71,7 +71,13 @@ class AdminsController < ApplicationController
@order_column = params[:column] && params[:direction] != "none" ? params[:column] : "status"
@order_direction = params[:direction] && params[:direction] != "none" ? params[:direction] : "DESC"
begin
meetings = all_running_meetings[:meetings]
rescue
flash[:alert] = I18n.t("administrator.rooms.timeout")
meetings = []
end
@order_column = "created_at" if meetings.empty?
@running_room_bbb_ids = meetings.pluck(:meetingID)
......
......@@ -173,6 +173,7 @@ en:
enabled: Always Enabled
optional: Optional
rooms:
timeout: Due to the BigBlueButton Server request timing out, the information for status and participants may not be accurate
title: Server Rooms
table:
ended: "Ended: %{session}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment