We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0929ea8 commit 9a12ebaCopy full SHA for 9a12eba
server/app.yaml
@@ -9,9 +9,6 @@ automatic_scaling:
9
env_variables:
10
PG_DB_URI: $PG_DB_URI
11
12
-health_check:
13
- enable_health_check: false
14
-
15
resources:
16
cpu: 4
17
memory_gb: 8
server/src/main.rs
@@ -29,6 +29,8 @@ async fn main() -> Result<()> {
29
info!("DB initialized");
30
31
let app = Router::new()
32
+ .route("/readiness_check", get(|| async { "OK" }))
33
+ .route("/liveness_check", get(|| async { "OK" }))
34
.route("/build", post(build))
35
.route("/deploy/:uuid", get(deploy))
36
.route("/share/:id", get(share_get))
0 commit comments