Skip to content

Commit

Permalink
bugfix: stab timeout should be 1000 times secs instead of div (#497)
Browse files Browse the repository at this point in the history
* bugfix timeout should be 1000 times instead of div
  • Loading branch information
RyanKung authored Nov 16, 2023
1 parent b8eddb9 commit cb502db
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ resolver = "2"
members = ["core", "transport", "node", "rpc", "derive"]

[workspace.package]
version = "0.3.5"
version = "0.3.6"
edition = "2021"
license = "GPL-3.0"
authors = ["RND <[email protected]>"]
Expand Down
2 changes: 1 addition & 1 deletion core/src/dht/stabilization.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ mod stabilizer {
.unwrap_or_else(|e| tracing::error!("failed to stabilize {:?}", e));
}))
};
poll!(func, (timeout / 1000).try_into().unwrap());
poll!(func, (timeout * 1000).try_into().unwrap());
}
}
}
Expand Down

0 comments on commit cb502db

Please sign in to comment.