fix(cache): retry attempts from 1 to 15

This commit is contained in:
Medzik 2021-09-08 19:49:00 +00:00
parent e9d6197817
commit 5dd2c129cb
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ var CacheURL []string
func Cache() {
CacheURL = CacheURL[:0]
err := common.Retry(1, 1*time.Second, func() error {
err := common.Retry(15, 1*time.Second, func() error {
results, err := mongo.GetAll()
if err != nil {
return err