Learn more about these different git repos.
Other Git URLs
The code uses:
lifetime = dom->netgroup_timeout * (step_ctx->nctx->cache_refresh_percent / 100);
As both arguments of the division are int, the result is always 0 and we always hit the "fallback" condition that sets the midpoint refresh to 10 seconds.
The code should read something like:
lifetime = dom->netgroup_timeout * (step_ctx->nctx->cache_refresh_percent / 100.0);
Ticket has been cloned to Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=882290
rhbz: => [https://bugzilla.redhat.com/show_bug.cgi?id=882290 882290]
Fields changed
owner: somebody => jhrozek status: new => assigned
patch: 0 => 1
milestone: NEEDS_TRIAGE => SSSD 1.9.3 resolution: => fixed status: assigned => closed
Metadata Update from @jhrozek: - Issue assigned to jhrozek - Issue set to the milestone: SSSD 1.9.3
SSSD is moving from Pagure to Github. This means that new issues and pull requests will be accepted only in SSSD's github repository.
This issue has been cloned to Github and is available here: - https://github.com/SSSD/sssd/issues/2725
If you want to receive further updates on the issue, please navigate to the github issue and click on subscribe button.
subscribe
Thank you for understanding. We apologize for all inconvenience.
Login to comment on this ticket.