fix initial error count for redis.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
3be61ad608
commit
6ef663928d
|
@ -48,6 +48,12 @@ func InitAppStatus() {
|
||||||
Password: PushConf.Stat.Redis.Password,
|
Password: PushConf.Stat.Redis.Password,
|
||||||
DB: PushConf.Stat.Redis.DB,
|
DB: PushConf.Stat.Redis.DB,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
RushStatus.TotalCount = getTotalCount()
|
||||||
|
RushStatus.Ios.PushSuccess = getIosSuccess()
|
||||||
|
RushStatus.Ios.PushError = getIosError()
|
||||||
|
RushStatus.Android.PushSuccess = getAndroidSuccess()
|
||||||
|
RushStatus.Android.PushError = getAndroidError()
|
||||||
default:
|
default:
|
||||||
initApp()
|
initApp()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue