Hacker News new | ask | show | jobs
by danjc 3388 days ago
Thank you for this. I was intending to write something similar in the next week or so and you've shaved off some time on that.

One comment - when the socket gets disconnected it will throw an exception and in the catch block the connect method is called again. Looks like this would cycle very quickly when no internet connection was available.

2 comments

Just closing the loop, here is the issue link: https://github.com/mattcbaker/dotnetcore-slackbot/issues/1
That is a great point. I'll add an issue to the repo now and get a fix in soon. Thank you for the suggestion!