Commit 8e742072 authored by Georg Mittendorfer's avatar Georg Mittendorfer

Fix rate limiter cache property names. Change some rate limit defaults. Minor...

Fix rate limiter cache property names. Change some rate limit defaults. Minor change to documentation.
parent 7275b02d
......@@ -38,21 +38,24 @@ piri.retry.successive-on-same-node=false
piri.retry.max-per-node=1
# rate limiter config
piri.rate.global.limit=200
piri.rate.global.period=1s
piri.rate.global.timeout=100ms
piri.rate.cleanup.max.count=1000
piri.rate.cleanup.idle=10m
# exclude ips from rate limiting
piri.rate.ip.unlimited.pattern=
piri.rate.ip.limit=20
# global rate limits
piri.rate.global.limit=1000
piri.rate.global.period=1s
piri.rate.global.timeout=100ms
# per ip rate limits
piri.rate.ip.limit=100
piri.rate.ip.period=1s
piri.rate.ip.timeout=100ms
piri.rate.ip.cleanup.max.count=1000
piri.rate.ip.cleanup.idle=10m
# You can configure rate limits per ip and command.
# You can configure rate limits per command (and ip implicitly).
# These command specific limits do not count for the per ip only limit.
# piri.rate.ip.limited.commands=getTransactionsToApprove
# piri.rate.ip.getTransactionsToApprove.limit=10
# optional: piri.rate.ip.getTransactionsToApprove.weight=5
......@@ -84,10 +87,10 @@ pow.timeout.attachToTangle=5s
iri.attachToTangle.minWeightMagnitude.max=15
iri.attachToTangle.minWeightMagnitude.min=14
iri.attachToTangle.trytes.max.count=10
iri.attachToTangle.trytes.max.count=25
iri.getTransactionsToApprove.depth.max=10
iri.getTransactionsToApprove.depth.min=1
iri.getTrytes.hashes.size.max=1000
iri.getTrytes.hashes.size.max=500
# Log configuration
logging.file=piri.log
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment