Commit 02424b80 authored by vicotor's avatar vicotor

udpate syncer

parent 76bc7503
......@@ -118,7 +118,7 @@ func (w *Work) RunJob(t TaskJob) chan<- interface{} {
fmt.Println(" t.FollowerCount", t.FollowerCount, "maybeFound", maybeFound)
if maybeFound {
fiveMinutesTicker.Reset(time.Minute * 3)
fiveMinutesTicker.Reset(time.Minute * 4)
halfHourTicker.Reset(time.Minute * 30)
if err := Request(cli.GetFollowerList, page, t); err != nil {
slog.Error(" page.Request", "task id", t.TaskId, "t.TaskType", t.TaskType, "err", err.Error())
......@@ -146,7 +146,7 @@ func (w *Work) RunJob(t TaskJob) chan<- interface{} {
Date: time.Now(),
FollowCount: fc,
})
secondTicker.Reset(time.Minute * 1)
secondTicker.Reset(time.Second * 150)
// 先用和like retweet一样的周期模式;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment