summaryrefslogtreecommitdiff
path: root/src/db
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2013-06-03 10:40:12 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-06-04 17:24:13 +0200
commitaf4027dd2759c73cde55b55fe9e1248089e8a42c (patch)
tree0a3f6562755c059c0f89eebe819e6ba3be5b4a44 /src/db
parent044aff9bd41e0126b89f1ad672e196c3aa1654b7 (diff)
downloadsssd-af4027dd2759c73cde55b55fe9e1248089e8a42c.tar.gz
sssd-af4027dd2759c73cde55b55fe9e1248089e8a42c.tar.bz2
sssd-af4027dd2759c73cde55b55fe9e1248089e8a42c.zip
Use queue for get_subdomains
It does not make much sense to run multiple get_subdomains request in parallel because all requests will load the same information from the server. The IPA and AD provider already implement a short timeout to avoid the multiple requests are running to fast after each other. But if the timeout is over chances are that if two or more request come in fast the first request cannot update the timeout and request will run in parallel. To avoid this the requests are queued and send one after the other to the provider.
Diffstat (limited to 'src/db')
0 files changed, 0 insertions, 0 deletions