Skip to content

Commit

Permalink
fix: do not retry qq notify.
Browse files Browse the repository at this point in the history
  • Loading branch information
RinChanNOWWW committed Nov 3, 2023
1 parent 97cce66 commit be7d772
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,7 @@ async fn run(source: SourcePtr, notifier: Arc<QQNotifier>) {
});

// notify by qq bot
let note = || async { notifier.notify(&source.name(), new_items.clone()).await };
note.retry(&retry_config).await?;
notifier.notify(&source.name(), new_items.clone()).await?;
}
};

Expand Down

0 comments on commit be7d772

Please sign in to comment.