]> git.ipfire.org Git - ipfire.org.git/commit - src/backend/accounts.py
accounts: Limit LDAP operations to 10 seconds
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 4 Dec 2019 16:51:33 +0000 (16:51 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 4 Dec 2019 16:51:33 +0000 (16:51 +0000)
commit4e3cfa04a5d707994fb879f0fdc77ccf64078753
tree7b0f43943011fe4f0e94e2b9d9b2e771718bfd47
parent70cf8c884fce1c7066f02001ac1fbbf31c42f3cf
accounts: Limit LDAP operations to 10 seconds

Some operations seem to lock up indefinitely.

This change will abort any operation after 10 seconds
and prevent the webapp from locking up.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/backend/accounts.py