Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

correct this env variable and the ondemand.d config key #3970

Merged
merged 1 commit into from
Nov 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/dashboard/config/configuration_singleton.rb
Original file line number Diff line number Diff line change
Expand Up @@ -391,8 +391,8 @@ def ood_bc_card_time
# Returns the number of milliseconds to wait between calls to the system status page
# The default is 30s and the minimum is 10s.
def status_poll_delay
status_poll_delay = ENV['STATUS_POLL_DELAY']
status_poll_delay_int = status_poll_delay.nil? ? config.fetch(:status_delay, '30000').to_i : status_poll_delay.to_i
status_poll_delay = ENV['OOD_STATUS_POLL_DELAY']
status_poll_delay_int = status_poll_delay.nil? ? config.fetch(:status_poll_delay, '30000').to_i : status_poll_delay.to_i
status_poll_delay_int < 10_000 ? 10_000 : status_poll_delay_int
end

Expand Down