From 3ddb733a1586016ad0db45a86ea867e4df9bcde6 Mon Sep 17 00:00:00 2001 From: shoopea Date: Mon, 22 Nov 2021 17:08:10 +0800 Subject: [PATCH] missing heartbeat code --- ttd.go | 1 + version.go | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ttd.go b/ttd.go index bafd8e6..a104e85 100644 --- a/ttd.go +++ b/ttd.go @@ -140,6 +140,7 @@ func (s *ServerTTD) HeartBeat(stop chan struct{}) { s.UpdateCompanies() s.PruneClients() s.PruneCompanies() + s.UpdateConfigClients() s.ComputeClientTime() if !s.Status.Paused && s.NeedPause() { s.Pause() diff --git a/version.go b/version.go index dae3fec..e8dd3e1 100644 --- a/version.go +++ b/version.go @@ -1,6 +1,6 @@ // Code generated by version.sh (@generated) DO NOT EDIT. package main -var githash = "440e45f" -var buildstamp = "2021-11-22_08:59:46" -var commits = "202" -var version = "440e45f-b202 - 2021-11-22_08:59:46" +var githash = "62974dc" +var buildstamp = "2021-11-22_09:07:53" +var commits = "203" +var version = "62974dc-b203 - 2021-11-22_09:07:53"