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

Alexander Larsson alexl at redhat.com
Mon May 17 06:02:42 PDT 2010


On Wed, 2010-05-12 at 13:32 +0200, Gerd Hoffmann wrote:
> ---
>  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)

Uhm, You don't propose this for merging, do you?

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
       alexl at redhat.com            alexander.larsson at gmail.com 
He's an ungodly alcoholic cyborg looking for 'the Big One.' She's a 
supernatural out-of-work lawyer with an evil twin sister. They fight crime! 



More information about the Spice-devel mailing list