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
Hello,
I'm trying to iterate over a List<Supplier<Stream>> (connection to the datasource) but processing one stream takes a few minutes so when the program gets to the second element of the list it already throws a "java.net.SocketTimeoutException: Read timed out". I couldn't find the right configuration option to set the Timeout time higher and I also don't think this would be a good way to handle this.
Which framework is responsible for the connection to the datasource?
Does anyone have an idea how to close the streams manually?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm trying to iterate over a List<Supplier<Stream>> (connection to the datasource) but processing one stream takes a few minutes so when the program gets to the second element of the list it already throws a "java.net.SocketTimeoutException: Read timed out". I couldn't find the right configuration option to set the Timeout time higher and I also don't think this would be a good way to handle this.
Which framework is responsible for the connection to the datasource?
Does anyone have an idea how to close the streams manually?
Beta Was this translation helpful? Give feedback.
All reactions