mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-12 03:05:14 +00:00
shift to 1 minute crawling
This commit is contained in:
@@ -62,7 +62,7 @@ func NewFeeds(postsService posts.PostsService) *Feeds {
|
||||
|
||||
func (e *Feeds) crawl() {
|
||||
e.fetchAll()
|
||||
tick := time.NewTicker(1 * time.Hour)
|
||||
tick := time.NewTicker(1 * time.Minute)
|
||||
for _ = range tick.C {
|
||||
e.fetchAll()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user