diff options
| author | winter | 2024-12-14 16:26:30 +0000 |
|---|---|---|
| committer | winter | 2024-12-14 16:26:30 +0000 |
| commit | 4dc9d1a481417bb78606996fa75c791bb646f44f (patch) | |
| tree | 1e5c1beff234999a0a0eb9819515644ec73d965d /Digitigrade/GlobalConfig.php | |
| parent | 86cf52e8d2701e13bd9fd4c847b35eba7506c473 (diff) | |
job queue and workers and loggers!
Diffstat (limited to 'Digitigrade/GlobalConfig.php')
| -rw-r--r-- | Digitigrade/GlobalConfig.php | 12 |
1 files changed, 12 insertions, 0 deletions
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 |
