gocolly/colly

[Feature Request] InMemoryStorage supports TTL for visited URLs

開放

#136 建立於 2018年5月9日

 (1 則留言) (1 個反應) (0 位負責人)Go (1,857 個分叉)batch import
enhancementhelp wanted

倉庫指標

星標
 (25,476 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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

貢獻者指南