Skip to content

Commit 526aa8a

Browse files
Refresh entire Live graphs page after 5 minutes #1298
1 parent 12c8f9b commit 526aa8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dsmr_frontend/templates/dsmr_frontend/live-graphs.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,8 @@
260260
$(document).ready(function(){
261261
setInterval(function(){ update_consumption_header(); }, 1000);
262262

263-
/* Reload entire page after 15 minutes. */
264-
setInterval(function(){ location.reload(); }, 15 * 60 * 1000)
263+
/* Reload entire page after X minutes. */
264+
setInterval(function(){ location.reload(); }, 5 * 60 * 1000)
265265

266266
// Sort graphs by preference.
267267
$('section.content > div').sort(graph_sort_callback).appendTo('section.content');

0 commit comments

Comments
 (0)