Skip to content

Commit

Permalink
shift to 1 minute crawling
Browse files Browse the repository at this point in the history
  • Loading branch information
asim committed Nov 13, 2020
1 parent fe7cf56 commit 8f8e9a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blog/feeds/handler/feeds.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down

0 comments on commit 8f8e9a3

Please sign in to comment.