diff --git a/activity.go b/activity.go index 7cf62ac..71b80d6 100644 --- a/activity.go +++ b/activity.go @@ -1158,7 +1158,7 @@ var oldjonks = cache.New(cache.Options{Filler: func(xid string) ([]byte, bool) { j["@context"] = itiswhatitis return j.ToBytes(), true -}}) +}, Limit: 128}) func gimmejonk(xid string) ([]byte, bool) { var j []byte diff --git a/fun.go b/fun.go index 142dac0..b3ecf33 100644 --- a/fun.go +++ b/fun.go @@ -603,7 +603,7 @@ var zaggies = cache.New(cache.Options{Filler: func(keyname string) (*rsa.PublicK return key, true } return nil, true -}}) +}, Limit: 512}) func zaggy(keyname string) *rsa.PublicKey { var key *rsa.PublicKey