mirror of https://github.com/MISP/MISP
Merge pull request #8568 from JakubOnderka/code-cleanup
fix: [internal] Throw exception if BackgroundJobsTool is not properly…pull/8569/head
commit
07c7698c2b
|
@ -629,6 +629,10 @@ class BackgroundJobsTool
|
|||
];
|
||||
}
|
||||
|
||||
if (!isset($this->settings['supervisor_host'])) {
|
||||
throw new RuntimeException("Required option `supervisor_host` for BackgroundJobsTool is not set.");
|
||||
}
|
||||
|
||||
$host = null;
|
||||
if (substr($this->settings['supervisor_host'], 0, 5) === 'unix:') {
|
||||
if (!defined('CURLOPT_UNIX_SOCKET_PATH')) {
|
||||
|
|
|
@ -9116,5 +9116,5 @@
|
|||
"uuid": false
|
||||
}
|
||||
},
|
||||
"db_version": "94"
|
||||
"db_version": "95"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue