mirror of
https://github.com/terorie/od-database-crawler.git
synced 2025-04-10 14:06:42 +00:00
Disable resume feature
This commit is contained in:
parent
771d49f2dd
commit
45cbd4d535
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user