There was an error while loading. Please reload this page.
1 parent b7b8047 commit 74459c4Copy full SHA for 74459c4
src/main.rs
@@ -318,9 +318,6 @@ async fn send_url(
318
if let Err(_) = tx.send(msg) {
319
continue;
320
}
321
-
322
- // Wait until the rate limiter allows the next job to be sent.
323
- lim.until_ready().await;
324
break;
325
326
@@ -336,11 +333,10 @@ async fn send_url(
336
333
337
334
338
335
339
340
341
342
- break;
343
+
+ // Wait until the rate limiter allows the next job to be sent.
+ lim.until_ready().await;
344
345
346
// Return an empty `Result` indicating success.
0 commit comments