mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-02-25 18:55:38 -06:00
keep retrying to start veilid-server
This commit is contained in:
@@ -224,9 +224,8 @@ impl AttachmentManager {
|
||||
if let Err(err) = netman.startup().await {
|
||||
error!("network startup failed: {}", err);
|
||||
netman.shutdown().await;
|
||||
break;
|
||||
}
|
||||
|
||||
restart = true;
|
||||
} else {
|
||||
log_net!(debug "started maintaining peers");
|
||||
while self.inner.lock().maintain_peers {
|
||||
// tick network manager
|
||||
@@ -260,6 +259,7 @@ impl AttachmentManager {
|
||||
|
||||
log_net!(debug "stopping network");
|
||||
netman.shutdown().await;
|
||||
}
|
||||
|
||||
if !restart {
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user