diff options
author | Alex Auvolat <alex@adnab.me> | 2020-05-01 19:18:54 +0000 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-05-01 19:18:54 +0000 |
commit | 16fbb32fd3ac00f76937c2799d01e7607449fa94 (patch) | |
tree | 73bae27a7ca89caf3ca19ff7ffa668fd2f27efd6 /src/core/version_table.rs | |
parent | d867bbcfb513761c6709347509b8438cfdf408c7 (diff) | |
download | garage-16fbb32fd3ac00f76937c2799d01e7607449fa94.tar.gz garage-16fbb32fd3ac00f76937c2799d01e7607449fa94.zip |
Rate limit requests a bit more seriously
droping the slot later (after reading the request response)
means that we aren't freeing our quota slot,
so the maximum number of simultaneous requests now also counts the
response reading phase
TODO next: quotas per rpc destination node, or maybe per datacenter (?)
Diffstat (limited to 'src/core/version_table.rs')
0 files changed, 0 insertions, 0 deletions