gocolly/colly

[Feature Request] InMemoryStorage supports TTL for visited URLs

オープン

#136 opened on 2018/05/09

 (1 件のコメント) (1 件のリアクション) (0 人の担当者)Go (1,856 件のフォーク)batch import
enhancementhelp wanted

Repository metrics

Stars
 (25,430 個のスター)
PR merge metrics
 (平均マージ 15h 38m) (30d で 2 merged PRs)

説明

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

コントリビューターガイド