From 9b08b8d793f6ee02e021f013397eaf3b22348283 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 20 Mar 2017 16:41:58 +0100 Subject: [PATCH] main: no delay for initial collect --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 5b906c5..8bfa03a 100644 --- a/src/main.c +++ b/src/main.c @@ -422,7 +422,7 @@ main(int argc, const char *argv[]) signals_init(main_loop, mpd); /* attempt to connect */ - reconnect_source_id = g_timeout_add(1, timer_reconnect, NULL); + reconnect_source_id = g_idle_add(timer_reconnect, NULL); auto_update_timer(); -- 2.30.2