[repo] look for remote changes immediately after irc is dropped and [listener] tweak timeout values

This commit is contained in:
Hylke Bons 2010-10-04 10:21:20 +01:00
parent 1116f3636c
commit 3b7cad7d79
2 changed files with 5 additions and 3 deletions

View file

@ -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

View file

@ -332,6 +332,8 @@ namespace SparkleLib {
SparkleHelpers.DebugInfo ("Irc", "[" + Name + "] Lost connection. Falling back to polling...");
CheckForRemoteChanges ();
RemoteTimer.Start ();
_IsPolling = true;