Fork me on GitHub
#core-async
<
2020-03-03
>
kwladyka11:03:06

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.

kwladyka11:03:49

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

kwladyka11:03:18

the solution is to add default timeout for java sockets read

kwladyka11:03:49

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

kwladyka11:03:26

thank all for your ideas and hints

👍 12