Skip to content

Commit ee081e1

Browse files
SBUS: increase SBUS_MESSAGE_TIMEOUT to 5 mins
Handling BE_REQ_INITGROUPS for LDAP user with 10k groups takes longer than 2 mins. Reviewed-by: Pavel Březina <pbrezina@redhat.com> Reviewed-by: Sumit Bose <sbose@redhat.com>
1 parent e73250b commit ee081e1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/sbus/sbus_message.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,10 @@
2929

3030
/* Use longer default timeout than libdbus default due to expensive
3131
* selinux operation: see https://bugzilla.redhat.com/show_bug.cgi?id=1654537
32+
* Another example of a very long running operation - BE_REQ_INITGROUPS where
33+
* the user is a member of tens of thousands of groups.
3234
*/
33-
#define SBUS_MESSAGE_TIMEOUT 120000
35+
#define SBUS_MESSAGE_TIMEOUT 300000
3436

3537
/**
3638
* Bound message with a talloc context.

0 commit comments

Comments
 (0)