From fc440b5f4d0a5fa8ce95966ee9036b1317452162 Mon Sep 17 00:00:00 2001 From: Roman Tsisyk <roman@tsisyk.com> Date: Mon, 25 Jan 2016 15:49:42 +0300 Subject: [PATCH] Set value of too_long_threshold in box_init() too_long_threshold was used uninitialized in txn_write_to_wal() during box_init(). --- src/box/box.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/box/box.cc b/src/box/box.cc index 7c43536ef3..fb6e93c984 100644 --- a/src/box/box.cc +++ b/src/box/box.cc @@ -1017,6 +1017,7 @@ box_init(void) recovery_setup_panic(recovery, cfg_geti("panic_on_snap_error"), cfg_geti("panic_on_wal_error")); + box_set_too_long_threshold(); /* * Initialize the cluster registry using replication_source, -- GitLab