gocolly/colly

[Feature Request] InMemoryStorage supports TTL for visited URLs

Open

#136 opened on May 9, 2018

View on GitHub
 (1 comment) (1 reaction) (0 assignees)Go (24,898 stars) (1,837 forks)batch import
enhancementhelp wanted

Description

type InMemoryStorage struct {
  // TTL
  visitedURLsTTL time.Duration
}

I think handling TTL for visited URLs internally is quite useful, and we can make redisstorage to support TTL as well. @asciimoo WDYT

Contributor guide