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 89506de commit fc4add2Copy full SHA for fc4add2
src/main.rs
@@ -85,7 +85,7 @@ async fn main() {
85
86
// Catch ctrl+c and try to shutdown gracefully
87
let handle = Handle::new();
88
- tokio::spawn(shutdown_signal_https(handle.clone()));
+ tokio::spawn(shutdown_signal(handle.clone()));
89
90
if args.https {
91
// run HTTPS server with hyper
@@ -121,7 +121,7 @@ fn init_tracing() {
121
/// Graceful shutdown handler
122
///
123
/// Installs signal handlers to catch Ctrl-C or SIGTERM and trigger a graceful shutdown.
124
-async fn shutdown_signal_https(handle: Handle) {
+async fn shutdown_signal(handle: Handle) {
125
let ctrl_c = async {
126
signal::ctrl_c()
127
.await
0 commit comments