Skip to content

Commit dd80839

Browse files
committed
feat(bunker): delay bunker info print after direct connect response
- Introduce a 3-second delay before calling `printBunkerInfo`
1 parent 4f9e8b0 commit dd80839

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

bunker.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,11 @@ var bunker = &cli.Command{
541541
log(color.GreenString("\nConnect response sent successfully to %d relay(s)!\n"), successCount.Load())
542542
}
543543

544-
printBunkerInfo()
544+
// print bunker info again after this
545+
go func() {
546+
time.Sleep(3 * time.Second)
547+
printBunkerInfo()
548+
}()
545549
}
546550

547551
// handleBunkerCommand processes user commands in the bunker interface

0 commit comments

Comments
 (0)