gocolly/colly

[Feature Request] InMemoryStorage supports TTL for visited URLs

Aberta

#136 aberto em 9 de mai. de 2018

 (1 comentário) (1 reação) (0 responsável)Go (1.857 forks)batch import
enhancementhelp wanted

Métricas do repositório

Stars
 (25.470 estrelas)
Métricas de merge de PR
 (Mesclagem média 15h 38m) (2 fundiu PRs em 30d)

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

Guia do colaborador