diff options
author | Mikhail Galanin <mgalanin@mimecast.com> | 2018-08-24 09:20:06 +0100 |
---|---|---|
committer | Mikhail Galanin <mgalanin@mimecast.com> | 2018-08-24 09:20:06 +0100 |
commit | 213ba86aaa6c1cf62210db1ce19213eeb6f6d5de (patch) | |
tree | 23558d2f7c727e59a4f3ca492c8849759c5d158a /test/functional/configs/clickhouse.conf | |
parent | 0fbaf1290c84643c94712ca26fd53872fddc5fc4 (diff) | |
download | rspamd-213ba86aaa6c1cf62210db1ce19213eeb6f6d5de.tar.gz rspamd-213ba86aaa6c1cf62210db1ce19213eeb6f6d5de.zip |
[Test] More test cases for ClickHouse
Diffstat (limited to 'test/functional/configs/clickhouse.conf')
-rw-r--r-- | test/functional/configs/clickhouse.conf | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/functional/configs/clickhouse.conf b/test/functional/configs/clickhouse.conf index 2e1b8d466..8f20b4dba 100644 --- a/test/functional/configs/clickhouse.conf +++ b/test/functional/configs/clickhouse.conf @@ -19,6 +19,17 @@ clickhouse { # IP:port of Clickhouse server server = "localhost:18123"; allow_local = true; + retention { + # disabled by default + enable = true; + # drop | detach, please refer to ClickHouse docs for details + # http://clickhouse-docs.readthedocs.io/en/latest/query_language/queries.html#manipulations-with-partitions-and-parts + method = "drop"; + # how many month the data should be kept in ClickHouse + period_months = 3; + # how often run the cleanup process + run_every = "7d"; + } } logging = { type = "file", |