mirror of
https://github.com/aljazceru/crawler_v2.git
synced 2025-12-17 07:24:21 +01:00
increasing thresholds for nastro.EventPolicy
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user