dovecot-2.2: cassandra: copy&paste mistake - use monotonic times...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Sep 24 17:59:42 UTC 2015
details: http://hg.dovecot.org/dovecot-2.2/rev/8183663ad7c0
changeset: 19219:8183663ad7c0
user: Timo Sirainen <tss at iki.fi>
date: Thu Sep 24 20:58:04 2015 +0300
description:
cassandra: copy&paste mistake - use monotonic timestamp generator, not server side..
diffstat:
src/lib-sql/driver-cassandra.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r e92af8f36ed0 -r 8183663ad7c0 src/lib-sql/driver-cassandra.c
--- a/src/lib-sql/driver-cassandra.c Thu Sep 24 20:51:16 2015 +0300
+++ b/src/lib-sql/driver-cassandra.c Thu Sep 24 20:58:04 2015 +0300
@@ -413,7 +413,7 @@
} T_END;
cass_log_set_level(db->log_level);
- db->timestamp_gen = cass_timestamp_gen_server_side_new();
+ db->timestamp_gen = cass_timestamp_gen_monotonic_new();
db->cluster = cass_cluster_new();
cass_cluster_set_timestamp_gen(db->cluster, db->timestamp_gen);
cass_cluster_set_connect_timeout(db->cluster, SQL_CONNECT_TIMEOUT_SECS * 1000);
More information about the dovecot-cvs
mailing list