mirror of
https://github.com/0ceanSlim/grain.git
synced 2024-11-21 16:17:13 +00:00
fix in example config
This commit is contained in:
parent
aebd1d89e4
commit
6737718f08
@ -39,19 +39,15 @@ rate_limit:
|
|||||||
# Rate limits for different event categories
|
# Rate limits for different event categories
|
||||||
category_limits:
|
category_limits:
|
||||||
ephemeral:
|
ephemeral:
|
||||||
kind: 0
|
|
||||||
limit: 100 # Events per second
|
limit: 100 # Events per second
|
||||||
burst: 200 # Allowed burst
|
burst: 200 # Allowed burst
|
||||||
parameterized_replaceable:
|
parameterized_replaceable:
|
||||||
kind: 0
|
|
||||||
limit: 5
|
limit: 5
|
||||||
burst: 10
|
burst: 10
|
||||||
regular:
|
regular:
|
||||||
kind: 0
|
|
||||||
limit: 25
|
limit: 25
|
||||||
burst: 50
|
burst: 50
|
||||||
replaceable:
|
replaceable:
|
||||||
kind: 0
|
|
||||||
limit: 10
|
limit: 10
|
||||||
burst: 20
|
burst: 20
|
||||||
|
|
||||||
|
@ -49,4 +49,4 @@ func WatchConfigFile(filePath string, restartChan chan<- struct{}) {
|
|||||||
log.Println("Error watching file:", err)
|
log.Println("Error watching file:", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user