fix initial error count for redis.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
@@ -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()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user