Replies: 1 comment
-
Hey @popadko, thanks for bringing this up 👍
Yes you understand correctly, we intentionally set this to the default of 1 millisecond back when we introduced this feature in reactphp/http#486. @clue used the following reasoning in his PR:
As you can see, there are plans to give more control over this and make this value adjustable for each use case. We're currently working towards the next major version for ReactPHP (v3), can't promise that we'll add this for the release, but will definitely see this as a candidate. Even if this shouldn't be part of the v3 release, I think it will find its way into the project shortly after. If you need this feature on shorter notice, you can also reach out to us or support the ReactPHP ecosystem by becoming a sponsor ❤️ |
Beta Was this translation helpful? Give feedback.
-
Hi!
I am curious about the $maximumTimeToKeepAliveIdleConnection value which is used inside the Browser. Do I understand correctly that it is a 1 millisecond?
Typically such value should be seconds. In my case, the requests are coming less often than 1 millisecond, so the connections are not reused.
But maybe I am missing something. Please help to figure it out.
Beta Was this translation helpful? Give feedback.
All reactions