mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 00:21:59 +01:00
Indexer job frequency on the health page went to a variable
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
c84bea9506
commit
321f64b33b
@ -40,6 +40,7 @@ $config['SITE_URL'] = 'http://piler.yourdomain.com/';
|
||||
$config['EXTERNAL_DASHBOARD_URL'] = '';
|
||||
|
||||
$config['SESSION_EXPIRY'] = 3600;
|
||||
$config['DELTA_INDEXER_PERIOD'] = 1800;
|
||||
|
||||
$config['ENABLE_SAAS'] = 0;
|
||||
$config['CAPTCHA_FAILED_LOGIN_COUNT'] = 0;
|
||||
|
@ -231,7 +231,7 @@ class ModelHealthHealth extends Model {
|
||||
|
||||
$st = stat(INDEXER_BEACON);
|
||||
$t1 = date(DATE_TEMPLATE . " H:i", $st['mtime']);
|
||||
$t2 = date(DATE_TEMPLATE . " H:i", $st['mtime']+30*60);
|
||||
$t2 = date(DATE_TEMPLATE . " H:i", $st['mtime']+DELTA_INDEXER_PERIOD);
|
||||
|
||||
$data = array($t1, $t2);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user