Skip to content
Snippets Groups Projects
Commit e5390968 authored by ale's avatar ale
Browse files

Increase error retry delay

parent ef2c4100
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@ import (
lutil "github.com/syndtr/goleveldb/leveldb/util"
)
var errorRetryDelay = 180 * time.Second
var errorRetryDelay = 12 * time.Hour
type gobDB struct {
*leveldb.DB
......@@ -188,6 +188,7 @@ func (c *Crawler) Enqueue(link Outlink, depth int) error {
// See if it's in scope.
if !c.scope.Check(link, depth) {
log.Printf("%s is not in scope", link.URL)
return nil
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment