forked from GithubBackups/vichan
7.4 compatibility
This commit is contained in:
parent
f3f7c0c75c
commit
2466a3d859
@ -73,7 +73,7 @@ class Queues {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function get_queue(array $config, string $name): Queue|false {
|
public static function get_queue(array $config, string $name) {
|
||||||
if (!isset(self::$queues[$name])) {
|
if (!isset(self::$queues[$name])) {
|
||||||
if ($config['queue']['enabled'] == 'fs') {
|
if ($config['queue']['enabled'] == 'fs') {
|
||||||
$lock = Locks::get_lock($config, $name);
|
$lock = Locks::get_lock($config, $name);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user