Obsolescence: background task setting (or resetting) the obsolescence date for obsolete data. The periodicity can be tuned by the mean of obsolescence.date_update_interval, defaulting to 10 minutes. Also renamed show_obsolete_data into obsolescence.show_obsolete_data for consistency.

SVN:trunk[4745]
This commit is contained in:
Romain Quetiez
2017-05-19 09:20:13 +00:00
parent 3b48428897
commit 80121b89c3
6 changed files with 75 additions and 4 deletions

View File

@@ -929,7 +929,7 @@ class Config
'source_of_value' => '',
'show_in_conf_sample' => false,
),
'show_obsolete_data' => array(
'obsolescence.show_obsolete_data' => array(
'type' => 'bool',
'description' => 'Default value for the user preference "show obsolete data"',
'default' => false,
@@ -937,6 +937,14 @@ class Config
'source_of_value' => '',
'show_in_conf_sample' => false,
),
'obsolescence.date_update_interval' => array(
'type' => 'integer',
'description' => 'Delay in seconds between two refreshes of the obsolescence dates.',
'default' => 600,
'value' => 600,
'source_of_value' => '',
'show_in_conf_sample' => false,
),
);
public function IsProperty($sPropCode)