Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deploy-queue/Cargo.lock

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

2 changes: 1 addition & 1 deletion deploy-queue/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "deploy-queue"
version = "0.8.1"
version = "0.8.2"
edition = "2024"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion deploy-queue/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ These values are set in the initial migration and can be adjusted in the `enviro
The system supports heartbeats to detect stuck deployments:

- **Background heartbeats during `start`**: While waiting for blocking deployments, a background task updates the deployment's `heartbeat_timestamp`. If it fails to send heartbeats repeatedly, it cancels the deployment with a note. It also cancels other deployments with stale heartbeats that are blocking your deployment.
- **Manual heartbeats**: `deploy-queue heartbeat deployment --deployment-id <ID>` (or `heartbeat url --url <URL>`) runs a foreground loop that sends heartbeats until stopped.
- **Manual heartbeats**: `deploy-queue heartbeat deployment <ID>` (or `heartbeat url <URL>`) runs a foreground loop that sends heartbeats until stopped.
- **Stale heartbeat detection**: deployments with a heartbeat older than the configured timeout (currently set to 15 minutes) are cancelled automatically when the heartbeat loop runs.

## Database Schema
Expand Down
2 changes: 1 addition & 1 deletion deploy-queue/bin/deploy-queue-heartbeat
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ if [ -z "${DEPLOY_QUEUE_HEARTBEAT_URL:-}" ]; then
exit 1
fi

exec deploy-queue heartbeat url --url "${DEPLOY_QUEUE_HEARTBEAT_URL}"
exec deploy-queue heartbeat url "${DEPLOY_QUEUE_HEARTBEAT_URL}"
Loading