diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-04-12 12:39:10 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-04-12 12:39:10 +0100 |
commit | 18c2b8ae42ce60ec6075abddd94603d15ed33a11 (patch) | |
tree | 15ad83381f217d44430367d0ab40f980895229fb /src/plugins/lua | |
parent | 4e79bc05da66ad3e29c80b0e7220537bab3d5ae4 (diff) | |
download | rspamd-18c2b8ae42ce60ec6075abddd94603d15ed33a11.tar.gz rspamd-18c2b8ae42ce60ec6075abddd94603d15ed33a11.zip |
[Fix] Slashing: Store times in GMT timezone in ClickHouse
Diffstat (limited to 'src/plugins/lua')
-rw-r--r-- | src/plugins/lua/clickhouse.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/clickhouse.lua b/src/plugins/lua/clickhouse.lua index 8e07362f8..d7efa635f 100644 --- a/src/plugins/lua/clickhouse.lua +++ b/src/plugins/lua/clickhouse.lua @@ -449,7 +449,7 @@ local function clickhouse_collect(task) local timestamp = task:get_date({ format = 'connect', - gmt = false + gmt = true, -- The only sane way to sync stuff with different timezones }) local action = task:get_metric_action('default') |