feat: try to bypass CF

This commit is contained in:
rramiachraf
2023-06-05 17:37:29 +01:00
parent 2df3c83ffa
commit 3e5edf2f16
4 changed files with 39 additions and 7 deletions

View File

@ -14,13 +14,8 @@ import (
)
var logger = logrus.New()
var client = &http.Client{}
func main() {
client = &http.Client{
Timeout: 20 * time.Second,
}
c, err := bigcache.NewBigCache(bigcache.DefaultConfig(time.Hour * 24))
if err != nil {
logger.Fatalln("can't initialize caching")