Set ipc slow mode from settings array
This commit is contained in:
parent
f6772e49de
commit
58a3efacc6
@ -139,6 +139,7 @@ class Settings extends SettingsAbstract
|
|||||||
$this->secretChats->mergeArray($settings);
|
$this->secretChats->mergeArray($settings);
|
||||||
$this->serialization->mergeArray($settings);
|
$this->serialization->mergeArray($settings);
|
||||||
$this->schema->mergeArray($settings);
|
$this->schema->mergeArray($settings);
|
||||||
|
$this->ipc->mergeArray($settings);
|
||||||
|
|
||||||
switch ($settings['db']['type'] ?? 'memory') {
|
switch ($settings['db']['type'] ?? 'memory') {
|
||||||
case 'memory':
|
case 'memory':
|
||||||
|
@ -15,6 +15,7 @@ class Ipc extends SettingsAbstract
|
|||||||
|
|
||||||
public function mergeArray(array $settings): void
|
public function mergeArray(array $settings): void
|
||||||
{
|
{
|
||||||
|
$this->setSlow($settings['ipc']['slow'] ?? $this->getSlow());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user