|
@@ -20,7 +20,7 @@ type Adp struct {
|
|
|
}
|
|
|
|
|
|
func (a *Adp) Run() {
|
|
|
- util.SimpleCrontab(false, Config.LimitTimeActivity, func() {
|
|
|
+ util.SimpleCrontab(false, Config.Messages.AdpExpire.TipTime, func() {
|
|
|
pool := make(chan bool, Config.SendMsgPool)
|
|
|
wait := &sync.WaitGroup{}
|
|
|
end := time.Now().AddDate(0, 0, Config.Messages.AdpExpire.ExpireDay-1)
|