lib/ruboty/adapters/slack_rtm.rb in ruboty-slack_rtm-3.1.0 vs lib/ruboty/adapters/slack_rtm.rb in ruboty-slack_rtm-3.1.1
- old
+ new
@@ -95,9 +95,11 @@
loop do
realtime.main_loop rescue nil
break unless ENV['SLACK_AUTO_RECONNECT']
@url = nil
@realtime = nil
+ sleep 3
+ bind
end
end
def url
@url ||= begin