From b80bfb0a3cc180586ecd936b97663517636e148d Mon Sep 17 00:00:00 2001 From: shimon Date: Wed, 25 Oct 2023 11:00:21 +0300 Subject: [PATCH] usage sync --- Dockerfile | 4 --- bin/calc-users-stats | 3 -- bin/clear-card-cache | 3 -- bin/patch-delete-project-collections | 3 -- ...patch-delete-schedule-updated-at-attribute | 3 -- bin/worker-usage | 3 ++ composer.lock | 29 ++++++++++++------- 7 files changed, 22 insertions(+), 26 deletions(-) delete mode 100644 bin/calc-users-stats delete mode 100644 bin/clear-card-cache delete mode 100644 bin/patch-delete-project-collections delete mode 100644 bin/patch-delete-schedule-updated-at-attribute create mode 100644 bin/worker-usage diff --git a/Dockerfile b/Dockerfile index eb5d41c8f..81762ed5f 100755 --- a/Dockerfile +++ b/Dockerfile @@ -99,10 +99,6 @@ RUN chmod +x /usr/local/bin/doctor && \ # Cloud Executabless RUN chmod +x /usr/local/bin/hamster && \ chmod +x /usr/local/bin/volume-sync && \ - chmod +x /usr/local/bin/patch-delete-schedule-updated-at-attribute && \ - chmod +x /usr/local/bin/patch-delete-project-collections && \ - chmod +x /usr/local/bin/clear-card-cache && \ - chmod +x /usr/local/bin/calc-users-stats && \ chmod +x /usr/local/bin/calc-tier-stats # Letsencrypt Permissions diff --git a/bin/calc-users-stats b/bin/calc-users-stats deleted file mode 100644 index 60472ed7a..000000000 --- a/bin/calc-users-stats +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -php /usr/src/code/app/cli.php calc-users-stats $@ \ No newline at end of file diff --git a/bin/clear-card-cache b/bin/clear-card-cache deleted file mode 100644 index b39bc1365..000000000 --- a/bin/clear-card-cache +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -php /usr/src/code/app/cli.php clear-card-cache $@ \ No newline at end of file diff --git a/bin/patch-delete-project-collections b/bin/patch-delete-project-collections deleted file mode 100644 index 8bf0736cf..000000000 --- a/bin/patch-delete-project-collections +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -php /usr/src/code/app/cli.php patch-delete-project-collections $@ \ No newline at end of file diff --git a/bin/patch-delete-schedule-updated-at-attribute b/bin/patch-delete-schedule-updated-at-attribute deleted file mode 100644 index 3e28289cb..000000000 --- a/bin/patch-delete-schedule-updated-at-attribute +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -php /usr/src/code/app/cli.php patch-delete-schedule-updated-at-attribute $@ \ No newline at end of file diff --git a/bin/worker-usage b/bin/worker-usage new file mode 100644 index 000000000..e39ce8477 --- /dev/null +++ b/bin/worker-usage @@ -0,0 +1,3 @@ +#!/bin/sh + +php /usr/src/code/app/worker.php usage $@ \ No newline at end of file diff --git a/composer.lock b/composer.lock index a9121a6dc..2eb088dc7 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "06c2610579f319495ea7d2d28f42d376", + "content-hash": "65346becb6411191fbb9ef96078b1857", "packages": [ { "name": "adhocore/jwt", @@ -2629,16 +2629,16 @@ }, { "name": "utopia-php/queue", - "version": "0.5.3", + "version": "dev-feat-get-worker-start", "source": { "type": "git", "url": "https://github.com/utopia-php/queue.git", - "reference": "8e8b6cb27172713fe5d8b7b092ce68516caf129a" + "reference": "c6fc4a267ab643500442e0cffcdf952ed80161f4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/queue/zipball/8e8b6cb27172713fe5d8b7b092ce68516caf129a", - "reference": "8e8b6cb27172713fe5d8b7b092ce68516caf129a", + "url": "https://api.github.com/repos/utopia-php/queue/zipball/c6fc4a267ab643500442e0cffcdf952ed80161f4", + "reference": "c6fc4a267ab643500442e0cffcdf952ed80161f4", "shasum": "" }, "require": { @@ -2684,9 +2684,9 @@ ], "support": { "issues": "https://github.com/utopia-php/queue/issues", - "source": "https://github.com/utopia-php/queue/tree/0.5.3" + "source": "https://github.com/utopia-php/queue/tree/feat-get-worker-start" }, - "time": "2023-05-24T19:06:04+00:00" + "time": "2023-10-16T16:02:43+00:00" }, { "name": "utopia-php/registry", @@ -5796,9 +5796,18 @@ "time": "2023-08-28T11:09:02+00:00" } ], - "aliases": [], + "aliases": [ + { + "package": "utopia-php/queue", + "version": "dev-feat-get-worker-start", + "alias": "0.5.3", + "alias_normalized": "0.5.3.0" + } + ], "minimum-stability": "stable", - "stability-flags": [], + "stability-flags": { + "utopia-php/queue": 20 + }, "prefer-stable": false, "prefer-lowest": false, "platform": { @@ -5822,5 +5831,5 @@ "platform-overrides": { "php": "8.0" }, - "plugin-api-version": "2.6.0" + "plugin-api-version": "2.2.0" }