Skip to content

Commit 3a5c401

Browse files
committed
remove unused function
1 parent 325feff commit 3a5c401

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

cmd/beast/run.go

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import (
66
"github.com/sdslabs/beastv4/core"
77
"github.com/sdslabs/beastv4/core/database"
88
"github.com/sdslabs/beastv4/core/manager"
9-
"github.com/sdslabs/beastv4/core/utils"
109
"github.com/sdslabs/beastv4/pkg/remoteManager"
1110
"os"
1211
"os/signal"
@@ -112,16 +111,6 @@ func saveLeaderboardCache() {
112111
}
113112
}
114113

115-
func storeLoaderBoardCache() {
116-
err, i := utils.CheckTime()
117-
118-
if err != nil {
119-
log.Errorln("Error checking time for competition... saving Graph Data")
120-
} else if i == 2 {
121-
// save graph data
122-
}
123-
}
124-
125114
func cleanup() {
126115
log.Info("Starting graceful shutdown cleanup...")
127116

0 commit comments

Comments
 (0)