|
@@ -69,7 +69,8 @@ func (u *UnLoginPushManager) Work() {
|
|
|
defer u.Lock.Unlock()
|
|
|
log.Printf("Work----Buff size %d\n", len(u.Date))
|
|
|
for _, v := range u.Date {
|
|
|
- if v.Createtime+util.Int64All(config.Seoconfig["afterSavePushId"]) < time.Now().Unix() {
|
|
|
+ log.Println(v.Createtime, util.Int64All(config.Sysconfig["afterSavePushId"]), time.Now().Unix())
|
|
|
+ if v.Createtime+util.Int64All(config.Sysconfig["afterSavePushId"]) < time.Now().Unix() {
|
|
|
u.savePushId(v)
|
|
|
delete(u.Date, v.Rid)
|
|
|
}
|