Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SECRETS: Shutdown the responder in case it becomes idle #180

Closed
wants to merge 2 commits into from

Conversation

fidencio
Copy link
Contributor

@fidencio fidencio commented Mar 2, 2017

Similarly to what has been done for the other responders, let's shutdown the secrets responder in case it becomes idle.

Resolves:
https://pagure.io/SSSD/sssd/issue/3316

@jhrozek
Copy link
Contributor

jhrozek commented Mar 7, 2017

The code looks good and both the PAM responder and the secrets responder now exit on idle. ACK, I will push once CI and Coverity finish.

@jhrozek jhrozek self-assigned this Mar 7, 2017
@jhrozek
Copy link
Contributor

jhrozek commented Mar 7, 2017

@lslebodn
Copy link
Contributor

lslebodn commented Mar 7, 2017 via email

@fidencio
Copy link
Contributor Author

fidencio commented Mar 7, 2017

@lslebodn: responder_setup_idle_timer_config() sounds better to you?

@lslebodn
Copy link
Contributor

lslebodn commented Mar 7, 2017 via email

As secrets responder will make use of this very same code in the future,
let's wrap it up into a new function in order to avoid code duplication.

Related:
https://pagure.io/SSSD/sssd/issue/3316

Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
Similarly to what has been done for the other responders, let's shutdown
the secrets responder in case it becomes idle.

Resolves:
https://pagure.io/SSSD/sssd/issue/3316

Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
@fidencio
Copy link
Contributor Author

fidencio commented Mar 7, 2017

@lslebodn: changed to responder_setup_idle_timeout_config()

Removing the "Changes Requested" label as @lslebodn comment has been addressed.

@jhrozek
Copy link
Contributor

jhrozek commented Mar 8, 2017

@jhrozek
Copy link
Contributor

jhrozek commented Mar 8, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants