Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Commit

Permalink
Merge pull request #15 from chuanbowen/master
Browse files Browse the repository at this point in the history
fixbug: server.cleanThread无sleep导致mongo server负载过大
  • Loading branch information
neargle authored Apr 11, 2018
2 parents 2775967 + 3bec94a commit dcc5dc1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/safecheck/health.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ func cleanThread() {
log.Println(err.Error())
}
}

time.Sleep(time.Second * 60)
}
}

Expand Down

0 comments on commit dcc5dc1

Please sign in to comment.