[repo] look for remote changes immediately after irc is dropped and [listener] tweak timeout values
This commit is contained in:
parent
2d7be39c75
commit
78669d5825
|
@ -52,9 +52,9 @@ namespace SparkleLib {
|
|||
Server = "irc.gnome.org";
|
||||
|
||||
Client = new IrcClient () {
|
||||
PingTimeout = 90,
|
||||
SocketSendTimeout = 90,
|
||||
SocketReceiveTimeout = 90,
|
||||
PingTimeout = 120,
|
||||
SocketSendTimeout = 120,
|
||||
SocketReceiveTimeout = 120,
|
||||
AutoRetry = true,
|
||||
AutoReconnect = true,
|
||||
AutoRejoin = true
|
||||
|
|
|
@ -332,6 +332,8 @@ namespace SparkleLib {
|
|||
|
||||
SparkleHelpers.DebugInfo ("Irc", "[" + Name + "] Lost connection. Falling back to polling...");
|
||||
|
||||
CheckForRemoteChanges ();
|
||||
|
||||
RemoteTimer.Start ();
|
||||
_IsPolling = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue