mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-09-23 06:14:45 -04:00
Remove unnecessary biased
from tokio::select!
This commit is contained in:
parent
25d1fcd2b5
commit
ff619f97b4
1 changed files with 0 additions and 2 deletions
|
@ -22,7 +22,6 @@ use std::time::Duration;
|
|||
use tracing::{debug_span, field, Instrument, Span};
|
||||
use uuid::Uuid;
|
||||
|
||||
//TODO: Request and Method can be combined into a single enum
|
||||
#[derive(PartialEq, Debug)]
|
||||
pub struct Request {
|
||||
pub cmd: Method,
|
||||
|
@ -261,7 +260,6 @@ impl Request {
|
|||
|
||||
tokio::spawn(async move {
|
||||
tokio::select! {
|
||||
biased;
|
||||
_ = context.swap_lock.listen_for_swap_force_suspension() => {
|
||||
tracing::info!("Shutdown signal received, exiting");
|
||||
()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue