mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-09-21 13:24:39 -04:00
Change INTERVAL type to u64
This commit is contained in:
parent
c9a7970ab4
commit
780d117a69
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ impl SwapLock {
|
|||
/// # Notes
|
||||
/// The 50ms polling interval is considered negligible overhead compared to the typical time required to suspend ongoing swap processes.
|
||||
pub async fn send_suspend_signal(&self) -> Result<(), Error> {
|
||||
const TIMEOUT: u32 = 10_000;
|
||||
const TIMEOUT: u64 = 10_000;
|
||||
const INTERVAL: u64 = 50;
|
||||
|
||||
let _ = self.suspension_trigger.send(())?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue