Skip to content

Commit

Permalink
Merge branch 'feat-impl-queue-retry' into feat-queue-failed-health-en…
Browse files Browse the repository at this point in the history
…dpoints
  • Loading branch information
PineappleIOnic committed Jan 24, 2024
2 parents d3b8ce7 + ab2d830 commit dc2107f
Show file tree
Hide file tree
Showing 6 changed files with 130 additions and 54 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ RUN chmod +x /usr/local/bin/doctor && \
chmod +x /usr/local/bin/ssl && \
chmod +x /usr/local/bin/test && \
chmod +x /usr/local/bin/vars && \
chmod +x /usr/local/bin/queue-retry && \
chmod +x /usr/local/bin/worker-audits && \
chmod +x /usr/local/bin/worker-certificates && \
chmod +x /usr/local/bin/worker-databases && \
Expand Down
3 changes: 3 additions & 0 deletions bin/queue-retry
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

php /usr/src/code/app/cli.php queue-retry $@
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"utopia-php/platform": "0.5.*",
"utopia-php/pools": "0.4.*",
"utopia-php/preloader": "0.2.*",
"utopia-php/queue": "0.5.*",
"utopia-php/queue": "0.7.*",
"utopia-php/registry": "0.5.*",
"utopia-php/storage": "0.18.*",
"utopia-php/swoole": "0.5.*",
Expand Down
110 changes: 57 additions & 53 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/Appwrite/Platform/Services/Tasks.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
use Appwrite\Platform\Tasks\DeleteOrphanedProjects;
use Appwrite\Platform\Tasks\GetMigrationStats;
use Appwrite\Platform\Tasks\PatchRecreateRepositoriesDocuments;
use Appwrite\Platform\Tasks\QueueRetry;

class Tasks extends Service
{
Expand All @@ -46,6 +47,7 @@ public function __construct()
->addAction(DeleteOrphanedProjects::getName(), new DeleteOrphanedProjects())
->addAction(PatchRecreateRepositoriesDocuments::getName(), new PatchRecreateRepositoriesDocuments())
->addAction(GetMigrationStats::getName(), new GetMigrationStats())
->addAction(RetryJobs::getName(), new RetryJobs())

;
}
Expand Down
Loading

0 comments on commit dc2107f

Please sign in to comment.