tweak
This commit is contained in:
parent
cb071f4a7c
commit
e55c7d6d05
3 changed files with 3 additions and 3 deletions
|
@ -86,7 +86,7 @@ impl App {
|
|||
}
|
||||
}
|
||||
}
|
||||
transfer_event = self.event_listener.recv() => {
|
||||
transfer_event = self.event_listener.recv().fuse() => {
|
||||
if let Some(event) = transfer_event {
|
||||
debug!("got transferr event {event:?}");
|
||||
match event {
|
||||
|
|
|
@ -25,7 +25,7 @@ fn main() -> Result<()> {
|
|||
result
|
||||
}
|
||||
|
||||
#[tokio::main]
|
||||
#[tokio::main(flavor = "multi_thread")]
|
||||
async fn start_and_run(terminal: &mut DefaultTerminal, config: Config) -> Result<()> {
|
||||
let (event_tx, event_listener) = unbounded_channel();
|
||||
|
||||
|
|
|
@ -377,7 +377,7 @@ pub struct UploadParams {
|
|||
token: String,
|
||||
}
|
||||
|
||||
pub async fn register_cancel(
|
||||
pub async fn handle_cancel(
|
||||
Query(params): Query<CancelParams>,
|
||||
State(service): State<JocalService>,
|
||||
) -> impl IntoResponse {
|
||||
|
|
Loading…
Reference in a new issue