feat(bunker): delay bunker info print after direct connect response

- Introduce a 3-second delay before calling `printBunkerInfo`
This commit is contained in:
Anthony Accioly 2025-07-04 18:50:07 +01:00
parent 660a206359
commit 3bdb1f65cf
No known key found for this signature in database
GPG Key ID: 1BADB4682C8DDB3C
1 changed files with 5 additions and 1 deletions

View File

@ -541,7 +541,11 @@ var bunker = &cli.Command{
log(color.GreenString("\nConnect response sent successfully to %d relay(s)!\n"), successCount.Load())
}
printBunkerInfo()
// print bunker info again after this
go func() {
time.Sleep(3 * time.Second)
printBunkerInfo()
}()
}
// handleBunkerCommand processes user commands in the bunker interface