Skip to content
Snippets Groups Projects
Commit 2c9bed6f authored by Dorian Merz's avatar Dorian Merz
Browse files

refs #14311

* modifies ilsTestTimeout
** 30s via FincILS.ini
** 90s via FincILS.php as a fallback in case INI is overridden
parent 7b2cc14c
No related merge requests found
......@@ -2,7 +2,7 @@
[General]
; This setting defines the connection timeout for testing the availability of the ILS
; in seconds (default is 1 second).
;ilsTestTimeout = 1
ilsTestTimeout = 30
; This setting defines key:value pairs that will identify records for which the ILS
; will be queried for status information.
......
......@@ -106,7 +106,7 @@ class FincILS extends PAIA implements LoggerAwareInterface
*
* @var int
*/
protected $ilsTestTimeout = 1;
protected $ilsTestTimeout = 90;
/**
* Flag to save online status.
......@@ -222,7 +222,7 @@ class FincILS extends PAIA implements LoggerAwareInterface
// get ilsTestTimeout setting if set otherwise use default of 1 second
$this->ilsTestTimeout = isset($this->config['General'])
&& isset($this->config['General']['ilsTestTimeout'])
? $this->config['General']['ilsTestTimeout'] : 1;
? $this->config['General']['ilsTestTimeout'] : 90;
}
......
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