core-async

kwladyka 2020-03-03T11:31:06.203900Z

I finally solved my issue. It wasn’t about async, but https://dzone.com/articles/threads-stuck-in-javanetsocketinputstreamsocketrea so the app stuck od reading from socket. The default value for timeout in Java is endless, so never timeout.

kwladyka 2020-03-03T11:31:49.204900Z

so the socket reading stuck during processing queue and the job never end

kwladyka 2020-03-03T11:32:18.205400Z

the solution is to add default timeout for java sockets read

kwladyka 2020-03-03T11:34:49.206Z

in such case there is no exception, the thread just freeze

kwladyka 2020-03-03T11:35:26.206300Z

thank all for your ideas and hints

👍 3