summaryrefslogtreecommitdiffstats
path: root/ctdb/server/ctdb_tunables.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronniesahlberg@gmail.com>2009-11-13 12:37:55 +1100
committerRonnie Sahlberg <ronniesahlberg@gmail.com>2009-11-13 12:37:55 +1100
commit93d902e8f7c9afb315184992893675384ad8911e (patch)
treef3873cc5a1e8f27073b22ccbc26dcafbb49784aa /ctdb/server/ctdb_tunables.c
parent2861bbdd5ad0535b13d6cfec7a73b2780dbef0df (diff)
downloadsamba-93d902e8f7c9afb315184992893675384ad8911e.tar.gz
samba-93d902e8f7c9afb315184992893675384ad8911e.tar.xz
samba-93d902e8f7c9afb315184992893675384ad8911e.zip
test of a change to make ctdbd use "status" event instead of the "monitor" event.
This allows running the actual monitoring asynchronously from ctdbd and only using "status" to pick up the actual results. (This used to be ctdb commit 1908bac812650ca25151051f5d86815e0b8ed319)
Diffstat (limited to 'ctdb/server/ctdb_tunables.c')
-rw-r--r--ctdb/server/ctdb_tunables.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ctdb/server/ctdb_tunables.c b/ctdb/server/ctdb_tunables.c
index 0bf87b93fc2..6f657e61dae 100644
--- a/ctdb/server/ctdb_tunables.c
+++ b/ctdb/server/ctdb_tunables.c
@@ -63,7 +63,8 @@ static const struct {
{ "VacuumLimit", 5000, offsetof(struct ctdb_tunable, vacuum_limit) },
{ "VacuumMinInterval", 60, offsetof(struct ctdb_tunable, vacuum_min_interval) },
{ "VacuumMaxInterval", 600, offsetof(struct ctdb_tunable, vacuum_max_interval) },
- { "MaxQueueDropMsg", 1000, offsetof(struct ctdb_tunable, max_queue_depth_drop_msg) }
+ { "MaxQueueDropMsg", 1000, offsetof(struct ctdb_tunable, max_queue_depth_drop_msg) },
+ { "UseStatusEvents", 0, offsetof(struct ctdb_tunable, use_status_events_for_monitoring) }
};
/*