summaryrefslogtreecommitdiffstats
path: root/include/ulogd/db.h
diff options
context:
space:
mode:
authorEric Leblond <eric@regit.org>2014-01-25 12:26:38 +0100
committerEric Leblond <eric@regit.org>2014-01-25 19:17:56 +0100
commit24a66507871884203229bee9da29ae53c872103e (patch)
treef2f7285d9f562b1441896a3a6dde794236f3c27f /include/ulogd/db.h
parenta69b30c6f9b9d65ad9e3cba64c98eff3e1538c33 (diff)
db: set ring default size to 0
As default size was non null, the ring system was activated by default. It was only possible to desactivate the ring system by setting it to ring_buffer_size to 0 in the configuration. This was not the attended behavior. This patch set it to 0 to have only explicit activation of the ring feature.
Diffstat (limited to 'include/ulogd/db.h')
-rw-r--r--include/ulogd/db.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ulogd/db.h b/include/ulogd/db.h
index e9b054b..9f9e96d 100644
--- a/include/ulogd/db.h
+++ b/include/ulogd/db.h
@@ -65,7 +65,7 @@ struct db_instance {
#define TIME_ERR ((time_t)-1) /* Be paranoid */
#define RECONNECT_DEFAULT 2
#define MAX_ONESHOT_REQUEST 10
-#define RING_BUFFER_DEFAULT_SIZE 10
+#define RING_BUFFER_DEFAULT_SIZE 0
#define DB_CES \
{ \