mirror of
https://github.com/BillyOutlast/posthog.git
synced 2026-02-04 03:01:23 +01:00
fix(flags): panic if serve returns (#31621)
This commit is contained in:
@@ -50,5 +50,6 @@ async fn main() {
|
||||
let listener = tokio::net::TcpListener::bind(config.address)
|
||||
.await
|
||||
.expect("could not bind port");
|
||||
serve(config, listener, shutdown()).await
|
||||
serve(config, listener, shutdown()).await;
|
||||
unreachable!("Server exited unexpectedly");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user