Disable resume feature

This commit is contained in:
Richard Patel 2019-02-05 15:44:59 +01:00
parent 771d49f2dd
commit 45cbd4d535
No known key found for this signature in database
GPG Key ID: C268B2BBDA2ABECB
2 changed files with 6 additions and 1 deletions

View File

@ -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")

View File

@ -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