in case webfinger fails, only cache one minute

master
Ted Unangst 4 years ago
parent 3b48371b49
commit 3eee0f63ca

@ -1361,7 +1361,7 @@ var handfull = cache.New(cache.Options{Filler: func(name string) (string, bool)
}
}
return href, true
}})
}, Duration: 1 * time.Minute})
func gofish(name string) string {
if name[0] == '@' {

Loading…
Cancel
Save