Skip to content

Commit

Permalink
comment out write check on socket for now
Browse files Browse the repository at this point in the history
  • Loading branch information
droundy committed Jan 22, 2024
1 parent 7b03dff commit 15b0344
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,11 @@ impl StatsdBuilder {
"Unable to open socket at {path:?}: {e}"
))
})?;
socket.writable().await.map_err(|e| {
BuildError::InvalidPushGatewayEndpoint(format!(
"Unable to write to socket at {path:?}: {e}"
))
})?;
// socket.writable().await.map_err(|e| {
// BuildError::InvalidPushGatewayEndpoint(format!(
// "Unable to write to socket at {path:?}: {e}"
// ))
// })?;

self.exporter_config = ExporterConfig::SocketGateway { socket, interval };

Expand Down

0 comments on commit 15b0344

Please sign in to comment.