gocolly/colly

[Feature Request] InMemoryStorage supports TTL for visited URLs

Offen

#136 geöffnet am 09.05.2018

 (1 Kommentar) (1 Reaktion) (0 zugewiesene Personen)Go (1.857 Forks)batch import
enhancementhelp wanted

Repository-Metriken

Stars
 (25.459 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 15h 38m) (2 gemergte PRs in 30 T)

Beschreibung

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