We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed2ffb8 commit c356c4fCopy full SHA for c356c4f
src/runner/worker.rs
@@ -160,6 +160,9 @@ impl<'a> Worker<'a> {
160
let krate = if let Some(next) = (self.next_crate)()? {
161
next
162
} else {
163
+ // Backoff from calling the server again, to reduce load when we're spinning until
164
+ // the next experiment is ready.
165
+ std::thread::sleep(Duration::from_secs(rand::random_range(3..10)));
166
// We're done if no more crates left.
167
return Ok(());
168
};
0 commit comments