Do not correct system time.
GitOrigin-RevId: e11cae3fc0ba1e5fe5548b14ba3f65e296a155a0
This commit is contained in:
parent
34bea7d5d7
commit
1411f33725
@ -93,7 +93,7 @@ Status Global::init(const TdParameters ¶meters, ActorId<Td> td, unique_ptr<T
|
||||
td_db_ = std::move(td_db_ptr);
|
||||
|
||||
string saved_diff_str = td_db()->get_binlog_pmc()->get("server_time_difference");
|
||||
auto system_time = max(1577285000.0, Clocks::system());
|
||||
auto system_time = Clocks::system();
|
||||
auto default_time_difference = system_time - Time::now();
|
||||
if (saved_diff_str.empty()) {
|
||||
server_time_difference_ = default_time_difference;
|
||||
|
Loading…
Reference in New Issue
Block a user