chore: 32 max port retries

feat/type-attributes
Tomáš Mládek 2022-10-22 12:51:21 +02:00
parent f200ea824f
commit 2f74c15553
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@ fn main() -> Result<()> {
bind.set_port(bind.port() + 1);
}
if cnt > 10 {
if cnt > 32 {
panic!("Couldn't start server.")
} else {
cnt += 1;