Commit 9890172c authored by Ad Schellevis's avatar Ad Schellevis

(mvc) change timeout on ConfigdActionsField

parent 95e421d5
......@@ -71,7 +71,7 @@ class ConfigdActionsField extends BaseField
// check configd daemon for list of available actions, cache results as long as configd is not restarted
if (!file_exists($service_tempfile) || filemtime($service_tempfile) < $backend->getLastRestart()) {
$response = $backend->configdRun("configd actions json");
$response = $backend->configdRun("configd actions json", false, 20);
$actions = json_decode($response, true);
if (is_array($actions)) {
file_put_contents($service_tempfile, $response);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment