mirror of
https://github.com/elyby/accounts.git
synced 2026-11-19 06:03:21 +05:30
Implemented WebHooks delivery queue.
Completely removed usage of the RabbitMQ. Queue now based on Redis channels. Worker process now extracted as separate docker container. Base image upgraded to the 1.8.0 version (PHP 7.2.7 and pcntl extension).
This commit is contained in:
1 parent
6751eb6591
commit
c0aa78d156
55 files changed
+933
-1684
No files matched your search
@@ -14,7 +14,12 @@ class CodeceptionQueueHelper extends Module {
|
||||
*/
|
||||
public function grabLastQueuedJob() {
|
||||
$messages = $this->grabQueueJobs();
|
||||
return end($messages);
|
||||
$last = end($messages);
|
||||
if ($last === false) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return $last;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user