refactor: keep existing rate limit behavior

This commit is contained in:
dreamhunter2333
2026-08-24 00:17:25 +08:00
parent 1cd43578ad
commit 7a09deb4a4
7 changed files with 9 additions and 144 deletions
-7
View File
@@ -110,12 +110,5 @@ if [ -n "${WORKER_GZIP_URL:-}" ]; then
echo " Gzip worker database initialized"
fi
if [ -n "${WORKER_URL_RATE_LIMIT:-}" ]; then
echo "==> Initializing rate-limit worker database"
curl -sf -X POST "$WORKER_URL_RATE_LIMIT/admin/db_initialize" > /dev/null
curl -sf -X POST "$WORKER_URL_RATE_LIMIT/admin/db_migration" > /dev/null
echo " Rate-limit worker database initialized"
fi
echo "==> Running Playwright tests"
exec npx playwright test "$@"