1
0
Fork 0
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:
Mike Perham 2014-05-21 21:01:56 -07:00
commit 9b04644c81

View file

@ -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 == '' %>