You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"{:?}: error setting scheduling priority for thread: {:?}, will run with ",
289
-
std::thread::current().name(),
290
-
e
291
-
);
292
-
#[cfg(windows)]
293
-
{
294
-
err.push_str("the default one. ");
295
-
}
296
-
#[cfg(unix)]
297
-
{
298
-
use thread_priority::ThreadPriorityValue;
299
-
300
-
for priority in (ThreadPriorityValue::MIN..ThreadPriorityValue::MAX).rev() {
301
-
if let Ok(p) = priority.try_into() {
302
-
use thread_priority::set_current_thread_priority;
303
-
304
-
if set_current_thread_priority(ThreadPriority::Crossplatform(p)).is_ok()
305
-
{
306
-
err.push_str(&format!("priority {priority}. "));
307
-
break;
308
-
}
309
-
}
310
-
}
311
-
}
312
-
err.push_str("This is not an hard error and it can be safely ignored under normal operating conditions. \
313
-
Though the SHM subsystem may experience some timeouts in case of an heavy congested system where this watchdog thread may not be scheduled at the required frequency.");
314
-
tracing::debug!( "{}", err);
315
-
}
316
-
317
-
if let Err(e) = ring_worker() {
318
-
let _ = join_sender.send(e.to_string());
319
-
}
320
-
});
321
-
*/
322
-
323
262
let inner = Arc::new(ReaderInner::new(submitter, exit_flag));
324
263
325
264
Ok(Self{
@@ -414,9 +353,7 @@ impl Reader {
414
353
let buffer = Arc::new(context.buffer_group().read_buffer(buf_id, buf_len, sq)?);
0 commit comments