Skip to content

Commit

Permalink
dont log liveness probe (#2825)
Browse files Browse the repository at this point in the history
Co-authored-by: Henry Fontanier <[email protected]>
  • Loading branch information
fontanierh and Henry Fontanier authored Dec 11, 2023
1 parent f607383 commit 1ec094d
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions core/bin/sqlite_worker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,8 @@ impl WorkerState {

/// Index
async fn index() -> (StatusCode, Json<APIResponse>) {
(
axum::http::StatusCode::OK,
Json(APIResponse {
error: None,
response: Some(json!({"message": "Welcome to SQLite worker."})),
}),
)
async fn index() -> &'static str {
"Welcome to SQLite worker."
}

// Databases
Expand Down

0 comments on commit 1ec094d

Please sign in to comment.