increasing thresholds for nastro.EventPolicy

This commit is contained in:
pippellia-btc
2025-09-15 18:20:00 +02:00
parent 575c4ff0c1
commit a49d5e6765

View File

@@ -17,8 +17,8 @@ import (
var ( var (
ErrEventTooBig = errors.New("event is too big") ErrEventTooBig = errors.New("event is too big")
maxTags = 20_000 maxTags = 50_000
maxContent = 50_000 maxContent = 1_000_000
) )
// EventTooBig is a [nastro.EventPolicy] that errs if the event is too big. // EventTooBig is a [nastro.EventPolicy] that errs if the event is too big.