#8458 Change in refresh value

This commit is contained in:
Daniel Maya 2022-03-31 09:46:30 +02:00
parent cab85cbfbd
commit e796dc52bb
3 changed files with 4 additions and 4 deletions

View File

@ -38,7 +38,7 @@ if (is_ajax() === true) {
$type = get_parameter('type', 0);
if ($getFilters === true) {
$refresh = get_parameter('refresh', 180);
$refresh = get_parameter('refresh', SECONDS_5MINUTES);
$search = get_parameter('search', '');
$group = get_parameter('group', true);
@ -49,7 +49,7 @@ if (is_ajax() === true) {
[
'30' => __('30 seconds'),
(string) SECONDS_1MINUTE => __('1 minute'),
'180' => __('3 minute'),
'180' => __('3 minutes'),
(string) SECONDS_5MINUTES => __('5 minutes'),
],
'refresh',

View File

@ -112,7 +112,7 @@ class Heatmap
int $type=0,
array $filter=[],
string $randomId=null,
int $refresh=180,
int $refresh=300,
int $width=0,
int $height=0,
string $search=null,

View File

@ -45,7 +45,7 @@ require_once $config['homedir'].'/include/class/Heatmap.class.php';
$pure = (bool) get_parameter('pure', false);
$type = get_parameter('type', 0);
$randomId = get_parameter('randomId', null);
$refresh = get_parameter('refresh', 180);
$refresh = get_parameter('refresh', SECONDS_5MINUTES);
$height = get_parameter('height', 0);
$width = get_parameter('width', 0);
$search = get_parameter('search', '');