diff --git a/bin/queue-retry b/bin/retry-jobs similarity index 100% rename from bin/queue-retry rename to bin/retry-jobs diff --git a/src/Appwrite/Platform/Services/Tasks.php b/src/Appwrite/Platform/Services/Tasks.php index 0b8e1d4678..82e7b2454a 100644 --- a/src/Appwrite/Platform/Services/Tasks.php +++ b/src/Appwrite/Platform/Services/Tasks.php @@ -21,7 +21,7 @@ use Appwrite\Platform\Tasks\Upgrade; use Appwrite\Platform\Tasks\DeleteOrphanedProjects; use Appwrite\Platform\Tasks\GetMigrationStats; use Appwrite\Platform\Tasks\PatchRecreateRepositoriesDocuments; -use Appwrite\Platform\Tasks\Retry; +use Appwrite\Platform\Tasks\RetryJobs; class Tasks extends Service { @@ -47,7 +47,7 @@ class Tasks extends Service ->addAction(DeleteOrphanedProjects::getName(), new DeleteOrphanedProjects()) ->addAction(PatchRecreateRepositoriesDocuments::getName(), new PatchRecreateRepositoriesDocuments()) ->addAction(GetMigrationStats::getName(), new GetMigrationStats()) - ->addAction(Retry::getName(), new Retry()) + ->addAction(RetryJobs::getName(), new RetryJobs()) ; } diff --git a/src/Appwrite/Platform/Tasks/Retry.php b/src/Appwrite/Platform/Tasks/RetryJobs.php similarity index 97% rename from src/Appwrite/Platform/Tasks/Retry.php rename to src/Appwrite/Platform/Tasks/RetryJobs.php index d78e309bba..6746690899 100644 --- a/src/Appwrite/Platform/Tasks/Retry.php +++ b/src/Appwrite/Platform/Tasks/RetryJobs.php @@ -8,7 +8,7 @@ use Utopia\Queue\Client; use Utopia\Queue\Connection; use Utopia\Validator\Text; -class Retry extends Action +class RetryJobs extends Action { public static function getName(): string {