Fork me on GitHub
#core-async
<
2017-12-12
>
joaohgomes02:12:21

@fabrao, if you are using channels, there is one example on how to timeout a blocking channel in the core.async walkthrough examples, using alts!. If you are getting disconnected, the only way I see you can go back to the log stream is to run the task in background, save the output to the disk and stream the log files. If the connection drops, command is still running in background and you just have to reconnect and request the logs from the last received message timestamp. It’s a little tricky, but I think doable. https://github.com/clojure/core.async/blob/master/examples/walkthrough.clj

fabrao16:12:19

@joaohgomes thanks 4 ur help !!!