Commit Graph

11 Commits

Author SHA1 Message Date
vyzo
859d2061ea normalize limiter constructors 2022-01-17 12:33:01 +02:00
vyzo
575eadee04 refactor limit defaults for easy access and user manipulation 2022-01-17 12:33:01 +02:00
vyzo
f5556bfbfe add total stream and conn limit 2022-01-17 12:33:01 +02:00
vyzo
90d7e860a0 introduce per protocol peer limits, don't transfer resources out of protocol when setting the service 2022-01-17 12:33:01 +02:00
vyzo
572b3eb374 adjust default limits 2022-01-17 12:33:01 +02:00
vyzo
927d2d70b5 adjust memory limit multipliers for the default limiters 2022-01-17 12:33:01 +02:00
vyzo
d22a48d4b0 RIP gosigar 2022-01-17 12:33:01 +02:00
vyzo
05a6764a69 add fluid copy constructors for limits
so that we can easily clone and adjust limits.
2022-01-17 12:33:01 +02:00
vyzo
6d519f5d2a fix build tags for v1.16 toolchain 2022-01-17 12:33:01 +02:00
vyzo
050afc6496 add appropriate build tags for dynamic limiter 2022-01-17 12:33:01 +02:00
vyzo
066de7c0c9 refactor limiters 2022-01-17 12:33:01 +02:00