Set ipc slow mode from settings array

This commit is contained in:
Alexander Pankratov 2020-10-03 01:44:29 +03:00
parent f6772e49de
commit 58a3efacc6
2 changed files with 2 additions and 0 deletions

View File

@ -139,6 +139,7 @@ class Settings extends SettingsAbstract
$this->secretChats->mergeArray($settings);
$this->serialization->mergeArray($settings);
$this->schema->mergeArray($settings);
$this->ipc->mergeArray($settings);
switch ($settings['db']['type'] ?? 'memory') {
case 'memory':

View File

@ -15,6 +15,7 @@ class Ipc extends SettingsAbstract
public function mergeArray(array $settings): void
{
$this->setSlow($settings['ipc']['slow'] ?? $this->getSlow());
}
/**