(&self, job_ref: JobRef, migrated: bool)
| 1509 | /// How long a worker keeps searching for work after completing a part of a |
| 1510 | /// long workload (see [`WorkloadHint`](crate::WorkloadHint)). About the time |
| 1511 | /// it takes to wake a parked thread. |
| 1512 | pub(crate) const SEARCH_DURATION: Duration = Duration::from_micros(25); |
| 1513 | |
| 1514 | /// A `join` whose inline half ran for at most this many heartbeats searches |
| 1515 | /// for [`Worker::SEARCH_DURATION`] before it parks to wait for its other |
| 1516 | /// half. A longer `join` parks right away: one wake adds little to it. |
| 1517 | const SHORT_JOIN_HEARTBEATS: u64 = 8; |
| 1518 |
no test coverage detected