diff --git a/README.md b/README.md index 7df43eb..92aa73a 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ fn main() { HttpServerStarter::new(site, host) .timeout(Some(Duration::from_secs(5))) // read & write timeout .threads(5) // threadpool size - .start() + .start_forever() .expect("http server error"); } ```