提交 547516c6 编写于 作者: A Alexey Milovidov

Fixed errors after merge [#CLICKHOUSE-2].

上级 1cc50263
......@@ -728,7 +728,7 @@ void DDLWorker::cleanupQueue()
continue;
/// Delete node if its lifetmie is expired (according to task_max_lifetime parameter)
size_t zookeeper_time_seconds = stat.ctime / zookeeper_time_resolution;
Int64 zookeeper_time_seconds = stat.ctime / zookeeper_time_resolution;
bool node_lifetime_is_expired = zookeeper_time_seconds + task_max_lifetime < current_time_seconds;
/// If too many nodes in task queue (> max_tasks_in_queue), delete oldest one
......
......@@ -97,7 +97,7 @@ private:
size_t max_tasks_in_queue = 1000;
friend class DDLQueryStatusInputSream;
friend class DDLTask;
friend struct DDLTask;
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册