diff --git a/k8s-queues.sh b/k8s-queues.sh index f3e6c55..1f9250a 100644 --- a/k8s-queues.sh +++ b/k8s-queues.sh @@ -8,7 +8,7 @@ function stopQueues() { echo "Stopping queues..." work=false php artisan queue:restart - sleep 300 + sleep 45s exit 0 } diff --git a/manifest.yaml b/manifest.yaml index 6dd5694..f695104 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -188,6 +188,10 @@ spec: containers: - name: ${CI_PROJECT_PATH_SLUG}-queue-worker image: $IMAGE_TAG + resources: + limits: + memory: 512Mi + cpu: "1" command: - "bash" args: