mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Merge pull request #1730 from madebydna/configure_polling_interval
Live poll button sync'd with dashboard's poll interval setting
This commit is contained in:
commit
9b04644c81
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
<% if params[:poll] %>
|
||||
<script>
|
||||
setInterval("window.location.reload(true)", 2000);
|
||||
setInterval("window.location.reload(true)", parseInt(localStorage.timeInterval) || 2000);
|
||||
</script>
|
||||
<% end %>
|
||||
<% unless current_path == '' %>
|
||||
|
|
Loading…
Add table
Reference in a new issue