mirror of
https://github.com/chatmail/core.git
synced 2026-04-21 15:36:30 +03:00
chore: fix clippy warnings
This commit is contained in:
@@ -876,7 +876,7 @@ impl Scheduler {
|
||||
let timeout_duration = std::time::Duration::from_secs(30);
|
||||
|
||||
let tracker = TaskTracker::new();
|
||||
for b in self.inboxes.into_iter().chain(self.oboxes.into_iter()) {
|
||||
for b in self.inboxes.into_iter().chain(self.oboxes) {
|
||||
let context = context.clone();
|
||||
tracker.spawn(async move {
|
||||
tokio::time::timeout(timeout_duration, b.handle)
|
||||
|
||||
Reference in New Issue
Block a user