added caching to forums results
Some checks failed
Run Integration Tests / test (push) Failing after 22s
Some checks failed
Run Integration Tests / test (push) Failing after 22s
This commit is contained in:
parent
6c351c5f2b
commit
f2d9a37e87
5 changed files with 72 additions and 22 deletions
2
text.go
2
text.go
|
@ -83,7 +83,7 @@ func getTextResultsFromCacheOrFetch(cacheKey CacheKey, query, safe, lang string,
|
|||
printInfo("Crawler disabled; skipping fetching.")
|
||||
}
|
||||
} else {
|
||||
textResults, _, _ := convertToSpecificResults(results)
|
||||
textResults, _, _, _ := convertToSpecificResults(results)
|
||||
combinedResults = textResults
|
||||
}
|
||||
case <-time.After(2 * time.Second):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue