Merge branch 'master-readonly-records' into foo
[sahlberg/ctdb.git] / server / ctdb_recoverd.c
index 44a9e4bfad08f921d39835173cf26978c2431e21..631f53e89bd4d04908b4b3abc8b1da761d86163a 100644 (file)
@@ -842,7 +842,7 @@ static void vacuum_fetch_handler(struct ctdb_context *ctdb, uint64_t srvid,
        }
 
        /* attach to it */
-       ctdb_db = ctdb_attach(ctdb, name, persistent, 0);
+       ctdb_db = ctdb_attach(ctdb, CONTROL_TIMEOUT(), name, persistent, 0);
        if (ctdb_db == NULL) {
                DEBUG(DEBUG_ERR,(__location__ " Failed to attach to database '%s'\n", name));
                talloc_free(tmp_ctx);