diff --git a/src/babashka/pods/impl.clj b/src/babashka/pods/impl.clj index 52146b8..58b6d94 100644 --- a/src/babashka/pods/impl.clj +++ b/src/babashka/pods/impl.clj @@ -292,7 +292,8 @@ the socket is connected." ^Socket [^String hostname ^Integer port] - (Socket. hostname port)) + (doto (Socket. hostname port) + (.setTcpNoDelay true))) (defn close-socket "Close the socket, and also closes its input and output streams."