[Spice-devel] [PATCH 33/35] [debug] migration troubleshooting

Gerd Hoffmann kraxel at redhat.com
Wed May 12 04:32:27 PDT 2010


---
 client/application.cpp |    2 +-
 server/reds.c          |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/client/application.cpp b/client/application.cpp
index 4eb8ac8..74f5543 100644
--- a/client/application.cpp
+++ b/client/application.cpp
@@ -2110,7 +2110,7 @@ void Application::init_logger()
     }
 
     log4cpp::Category& root = log4cpp::Category::getRoot();
-#ifdef RED_DEBUG
+#if 1 // RED_DEBUG
     root.setPriority(log4cpp::Priority::DEBUG);
     root.removeAllAppenders();
     root.addAppender(new log4cpp::FileAppender("_", fd));
diff --git a/server/reds.c b/server/reds.c
index e499770..7a8cada 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -93,7 +93,7 @@ int agent_mouse = TRUE;
 
 static void openssl_init();
 
-#define MIGRATE_TIMEOUT (1000 * 10) /* 10sec */
+#define MIGRATE_TIMEOUT (1000 * 100) /* 10sec */
 #define PING_INTERVAL (1000 * 10)
 #define KEY_MODIFIERS_TTL (1000 * 2) /*2sec*/
 #define MM_TIMER_GRANULARITY_MS (1000 / 30)
-- 
1.6.6.1



More information about the Spice-devel mailing list