# Should I change max-concurrent-requests? \>\> Note: The implementation has changed. You shouldn't use this setting any longer. Leave it commented out

**URL:** <https://forum.storj.io/t/should-i-change-max-concurrent-requests-note-the-implementation-has-changed-you-shouldnt-use-this-setting-any-longer-leave-it-commented-out/845>\
**Category:** FAQ\
**Tags:** error-codes\
**Created:** [July 24, 2019, 9:15am UTC](https://forum.storj.io/t/should-i-change-max-concurrent-requests-note-the-implementation-has-changed-you-shouldnt-use-this-setting-any-longer-leave-it-commented-out/845 "2019-07-24T09:15:42Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![Toyoo](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/toyoo/32/1126_2.png) [@Toyoo](https://forum.storj.io/u/Toyoo)\
**Post date:** [April 6, 2020, 4:59pm UTC](https://forum.storj.io/t/should-i-change-max-concurrent-requests-note-the-implementation-has-changed-you-shouldnt-use-this-setting-any-longer-leave-it-commented-out/845/12 "2020-04-06T16:59:55Z")

</div>

Can’t upload the script, sorry. But it’s pretty simple. For each line of log:

- if it’s `upload started` or `download started`, increment the counter for the number of current in-flight requests,
- if it’s `uploaded`, `downloaded`, `upload cancelled` or `download cancelled`, decrement the above counter.
- if it’s `upload started` or `download started`, memorize the satellite id, piece id and the current value of the above counter,
- if it’s `uploaded` or `downloaded`, retrieve the memorized value of the counter for the given satellite id/piece id pair and memorize that there was a successful transfer at that number of in-flight requests.
- if it’s `upload canceled` or `download canceled`, retrieve the memorized value of the counter for the given satellite id/piece id pair and memorize that there was a canceled transfer at that number of in-flight requests.

Then print out the rates, noting to avoid computing rates if there aren’t enough samples (I picked a threshold of 100, which _very roughly_ sets the error bars at ±10%).

---

_[View the full topic](https://forum.storj.io/t/should-i-change-max-concurrent-requests-note-the-implementation-has-changed-you-shouldnt-use-this-setting-any-longer-leave-it-commented-out/845)._
