mirror of
https://github.com/terorie/od-database-crawler.git
synced 2025-12-13 23:29:02 +00:00
Ignore HTTPS errors
This commit is contained in:
@@ -14,7 +14,7 @@ var config struct {
|
||||
Token string
|
||||
ServerTimeout time.Duration
|
||||
Recheck time.Duration
|
||||
ChunkSize uint
|
||||
ChunkSize int64
|
||||
Retries int
|
||||
Workers int
|
||||
Timeout time.Duration
|
||||
@@ -78,7 +78,7 @@ func readConfig() {
|
||||
|
||||
config.Recheck = viper.GetDuration(ConfRecheck)
|
||||
|
||||
config.ChunkSize = viper.GetSizeInBytes(ConfChunkSize)
|
||||
config.ChunkSize = int64(viper.GetSizeInBytes(ConfChunkSize))
|
||||
if config.ChunkSize < 100 {
|
||||
configOOB(ConfChunkSize, config.ChunkSize)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user