]> Some of my projects - localmylist.git/commitdiff
Handle the new ServerBusyError
authorAPTX <marek321@gmail.com>
Fri, 13 Jul 2012 23:34:20 +0000 (01:34 +0200)
committerAPTX <marek321@gmail.com>
Fri, 13 Jul 2012 23:34:20 +0000 (01:34 +0200)
anioni/anioni.cpp

index 00e6d7785dabc59e4a238ad72b63fcd9324a84ec..2a26982906c2fb16829eaff09688ecb94186f558 100644 (file)
@@ -38,6 +38,11 @@ void AniOni::handleUdpClientError()
                        QTimer::singleShot(1000 * 60 * 40, Client::instance(), SLOT(connect()));
                break;
 
+               case ServerBusyError:
+                       Client::instance()->clearErrors();
+                       QTimer::singleShot(1000 * 60 * 10, Client::instance(), SLOT(connect()));
+               break;
+
                case BindError:
                case AuthenticationError:
                case ClientBannedError: