This commit is contained in:
yedongfu 2021-05-21 15:47:56 +08:00
parent f9e350a410
commit c88792bba5
3 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
dtmsvr/dtmsvr.yml dtmsvr/dtmsvr.yml
*.out

View File

@ -19,7 +19,8 @@ func TestViper(t *testing.T) {
func TestCover(t *testing.T) { func TestCover(t *testing.T) {
db := DbGet() db := DbGet()
db.NoMust() db.NoMust()
CronPreparedOnce(0)
CronCommitedOnce(0)
defer handlePanic() defer handlePanic()
checkAffected(db.DB) checkAffected(db.DB)
} }

View File

@ -6,7 +6,6 @@ import (
) )
func Main() { func Main() {
logrus.Printf("dtmsvr listen at: 8080")
go StartSvr() go StartSvr()
} }