You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Its not documented anywhere, but you can pass retryCount and retryDelay when creating a new Client. It will automatically reconnect if the connection is dropped.
var irc = require('irc');
new irc.Client('irc.example.org', 'someone', {
// milliseconds to wait between retries
retryDelay: 1000,
// max attempts
retryCount: 2
}
how do I auto reconnect if the server goes down? I'm using the latest version
The text was updated successfully, but these errors were encountered: