Commit 76bc7503 authored by vicotor's avatar vicotor

update syncer

parent 2b2c3b48
......@@ -83,7 +83,7 @@ func (w *Work) RunJob(t TaskJob) chan<- interface{} {
cli := swarm.GetSwarm()
secondTicker := time.NewTicker(time.Minute * 3)
secondTicker := time.NewTicker(time.Second * 20)
fiveMinutesTicker := time.NewTicker(time.Minute * 1)
halfHourTicker := time.NewTicker(time.Minute * 30)
first := true
......@@ -146,7 +146,7 @@ func (w *Work) RunJob(t TaskJob) chan<- interface{} {
Date: time.Now(),
FollowCount: fc,
})
secondTicker.Reset(time.Minute * 3)
secondTicker.Reset(time.Minute * 1)
// 先用和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