From 4dc9d1a481417bb78606996fa75c791bb646f44f Mon Sep 17 00:00:00 2001 From: winter Date: Sat, 14 Dec 2024 16:26:30 +0000 Subject: job queue and workers and loggers! --- Digitigrade/GlobalConfig.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'Digitigrade/GlobalConfig.php') diff --git a/Digitigrade/GlobalConfig.php b/Digitigrade/GlobalConfig.php index f17b758..7fbfab3 100644 --- a/Digitigrade/GlobalConfig.php +++ b/Digitigrade/GlobalConfig.php @@ -41,4 +41,16 @@ class GlobalConfig extends Singleton { public function getDbPassword(): string { return $this->confData['database']['password']; } + + public function getQueueHost(): string { + return $this->confData['queue']['host']; + } + + public function getQueuePort(): int { + return $this->confData['queue']['port'] ?? 11300; + } + + public function getQueueChannel(): string { + return $this->confData['queue']['channel'] ?? 'digitigrade'; + } } \ No newline at end of file -- cgit v1.3