in case webfinger fails, only cache one minute
This commit is contained in:
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…
Reference in New Issue