Deferred attach : at early startup, defer any db attach calls until we are out of...
[sahlberg/ctdb.git] / server / ctdb_tunables.c
index 4cd1b457206e474d5bc42673a894d3b1d071ebbf..0f8d7c8c77503e91fd6dbe05de67ff07f644103f 100644 (file)
@@ -65,7 +65,8 @@ static const struct {
        { "MaxQueueDropMsg",  1000000, offsetof(struct ctdb_tunable, max_queue_depth_drop_msg) },
        { "UseStatusEvents",     0,  offsetof(struct ctdb_tunable, use_status_events_for_monitoring) },
        { "AllowUnhealthyDBRead", 0,  offsetof(struct ctdb_tunable, allow_unhealthy_db_read) },
-       { "StatHistoryInterval",  1,  offsetof(struct ctdb_tunable, stat_history_interval) }
+       { "StatHistoryInterval",  1,  offsetof(struct ctdb_tunable, stat_history_interval) },
+       { "DeferredAttachTO",  120,  offsetof(struct ctdb_tunable, deferred_attach_timeout) }
 };
 
 /*