Improve hot start by preselecting working video search instance
Some checks are pending
Run Integration Tests / test (push) Waiting to run
Some checks are pending
Run Integration Tests / test (push) Waiting to run
This commit is contained in:
parent
1ec633470b
commit
8f31f0b2eb
3 changed files with 77 additions and 18 deletions
|
@ -135,10 +135,11 @@ func fetchImageResults(query, safe, lang string, page int, synchronous bool, thu
|
|||
return results
|
||||
}
|
||||
|
||||
if len(imageSearchEngines) == 0 {
|
||||
printWarn("No image search engines configured in imageSearchEngines")
|
||||
return nil
|
||||
}
|
||||
// This will not happen as during config load there is check to have at least something in search engine list
|
||||
// if len(imageSearchEngines) == 0 {
|
||||
// printWarn("No image search engines configured in imageSearchEngines")
|
||||
// return nil
|
||||
// }
|
||||
|
||||
engineCount := len(imageSearchEngines)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue