URL:
https://github.com/SSSD/sssd/pull/327
Title: #327: RESPONDERS: Fix terminating idle connections
jhrozek commented:
"""
On Thu, Jul 20, 2017 at 07:45:26AM +0000, lslebodn wrote:
On (19/07/17 22:38), fidencio wrote:
>On Wed, Jul 19, 2017 at 6:56 PM, lslebodn <notifications(a)github.com> wrote:
>
>> On (19/07/17 09:28), fidencio wrote:
>> >fidencio commented on this pull request.
>> >> @@ -100,11 +100,11 @@ def setup_for_secrets(request):
>> > [secrets]
>> > max_secrets = 10
>> > max_payload_size = 2
>> >+ client_idle_timeout = 10
>> >
>> >@lslebodn: I'm just quoting the commit message as I do believe it
answers
>> your question about the 10 seconds:
>> >"The client timeout in the test has to be at least 10 seconds because
>> >internally, the responders don't allow a shorter timeout."
>> >
>> I checked only man page and that's not mention there.
>> And it still does not explain why do we need
>> to wait 50% longer then `client_idle_timeout`
>>
>
>The reason we have to wait 50% longer than the `client_idle_timeout`
>can be find here (please, see the commit message):
>https://github.com/SSSD/sssd/commit/560daa14ef013aa14e2aedeea10b07f623d84ec8
>
>And the commit that introduced that the client_idle_timeout has the
>minimum value of 10 seconds is this one:
>https://github.com/SSSD/sssd/commit/bb79e7559dae451a14150377099e32d6b5159a6c
>
>Hopefully everything is clear now.
>
A) It is not clear because it is not documented.
I can submit a PR that fixes the manpage, but it suprises me that you're
still surprised that our documentation is missing something :)
B) I do not see a reason why minimal value have to be 10 seconds.
why not 11, 13, 17, 19 or any other value.
Because I wasn't sure if 11 wouldn't cause false positives (which
ultimately waste more time b/c someone has to look at them)
But if you prefer, I can lower that to 11. I can't lower that below 10
though.
"""
See the full comment at
https://github.com/SSSD/sssd/pull/327#issuecomment-316628352