mirror of
https://github.com/terorie/od-database-crawler.git
synced 2025-12-10 22:18:55 +00:00
Disable resume feature
This commit is contained in:
@@ -92,7 +92,7 @@ func prepareConfig() {
|
||||
|
||||
pf.Uint(ConfJobBufferSize, 5000, "Crawler: Task queue cache size")
|
||||
|
||||
pf.Duration(ConfResume, 72 * time.Hour, "Crawler: Resume tasks not older than x")
|
||||
pf.Duration(ConfResume, 0, "Crawler: Resume tasks not older than x")
|
||||
|
||||
pf.Duration(ConfCrawlStats, time.Second, "Log: Crawl stats interval")
|
||||
|
||||
|
||||
@@ -82,3 +82,8 @@ crawl:
|
||||
# A negative value will cause all jobs
|
||||
# to be stored in memory. (Don't do this)
|
||||
job_buffer: 5000
|
||||
|
||||
# Resume jobs with max age
|
||||
# WARNING: Unstable and buggy feature,
|
||||
# set to 0 until stable.
|
||||
resume: 0s
|
||||
|
||||
Reference in New Issue
Block a user