Skip to content

Commit 325feff

Browse files
committed
move cache save before database termination
1 parent eb1601b commit 325feff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/beast/run.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,11 @@ func cleanup() {
130130
stopWorkerQueue()
131131
stopRemoteManagers()
132132

133+
saveLeaderboardCache()
134+
133135
cleanUpRunningContainers()
134136
cleanUpDatabaseConnections()
135137

136-
saveLeaderboardCache()
137-
138138
// - Clean up temporary files: found no files to be cleared as of now
139139
// - Close network connections: all ssh connections are already closed and no new network connections as of now
140140

0 commit comments

Comments
 (0)