|
@@ -69,7 +69,6 @@ func (u *UnLoginPushManager) Work() {
|
|
|
defer u.Lock.Unlock()
|
|
|
log.Printf("Work----Buff size %d\n", len(u.Date))
|
|
|
for _, v := range u.Date {
|
|
|
- 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)
|