fix cpu spike (#127)

This commit is contained in:
reya
2025-08-19 14:31:13 +07:00
committed by GitHub
parent 07a2f6980e
commit 23ad28e96e

View File

@@ -131,6 +131,7 @@ fn main() {
loop {
// Signer is unset, probably user is not ready to retrieve gift wrap events
if client.signer().await.is_err() {
smol::Timer::after(Duration::from_secs(1)).await;
continue;
}