Skip to content

The only tool you need to know what is happening and how to fix it.

fix: benchmark restart for sqlite

ddux2f4b466cb4fd
diff --git a/benchmarks/compose/docker-compose.sqlite.yml b/benchmarks/compose/docker-compose.sqlite.yml
index a140b529..8a365e89 100644
--- a/benchmarks/compose/docker-compose.sqlite.yml
+++ b/benchmarks/compose/docker-compose.sqlite.yml
@@ -12,7 +12,7 @@ services:
GIN_MODE: "release"
volumes:
- traceway-bench-sqlite-data:/data
- restart: "no"
+ restart: on-failure:3
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost/health"]
interval: 5s