Improve sys-tuner error message
This commit is contained in:
parent
5298e3872c
commit
892e425d87
|
@ -6,7 +6,13 @@ pub const SOLANA_SYS_TUNER_PATH: &str = "/tmp/solana-sys-tuner";
|
||||||
pub fn request_realtime_poh() {
|
pub fn request_realtime_poh() {
|
||||||
info!("Sending tuning request");
|
info!("Sending tuning request");
|
||||||
let status = unix_socket::UnixStream::connect(SOLANA_SYS_TUNER_PATH);
|
let status = unix_socket::UnixStream::connect(SOLANA_SYS_TUNER_PATH);
|
||||||
info!("Tuning request status {:?}", status);
|
match status {
|
||||||
|
Ok(_) => info!("Successfully sent tuning request"),
|
||||||
|
Err(err) => warn!(
|
||||||
|
"Failed to send tuning request, is `solana-sys-tuner` running? {:?}",
|
||||||
|
err
|
||||||
|
),
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(not(unix))]
|
#[cfg(not(unix))]
|
||||||
|
|
Loading…
Reference in New Issue