Skip to content

Commit

Permalink
Merge pull request #202 from jvlcek/bz_1447064_10m_cache_timeout
Browse files Browse the repository at this point in the history
Add 600 second cache timeout to pickup directory changes.
  • Loading branch information
abellotti authored Jun 7, 2017
2 parents 8e01011 + 49587f7 commit a0f3657
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ def configure_sssd_domain(config, domain)
pattern = "[domain/#{Regexp.escape(domain)}].*(\n)"
config[/#{pattern}/, 1] = "\nldap_user_extra_attrs = #{ldap_user_extra_attrs}\n"
end

pattern = "[domain/#{Regexp.escape(domain)}].*(\n)"
config[/#{pattern}/, 1] = "\nentry_cache_timeout = 600\n"
end

def configure_sssd_service(config)
Expand Down

0 comments on commit a0f3657

Please sign in to comment.