| |
@@ -241,8 +241,8 @@
|
| |
|
| |
#define SLAPD_DEFAULT_FILE_MODE S_IRUSR | S_IWUSR
|
| |
#define SLAPD_DEFAULT_DIR_MODE S_IRWXU
|
| |
- #define SLAPD_DEFAULT_IDLE_TIMEOUT 0 /* seconds - 0 == never */
|
| |
- #define SLAPD_DEFAULT_IDLE_TIMEOUT_STR "0"
|
| |
+ #define SLAPD_DEFAULT_IDLE_TIMEOUT 3600 /* seconds - 0 == never */
|
| |
+ #define SLAPD_DEFAULT_IDLE_TIMEOUT_STR "3600"
|
| |
#define SLAPD_DEFAULT_SIZELIMIT 2000 /* use -1 for no limit */
|
| |
#define SLAPD_DEFAULT_SIZELIMIT_STR "2000"
|
| |
#define SLAPD_DEFAULT_TIMELIMIT 3600 /* use -1 for no limit */
|
| |
@@ -252,8 +252,8 @@
|
| |
#define SLAPD_DEFAULT_MAX_FILTER_NEST_LEVEL 40 /* use -1 for no limit */
|
| |
#define SLAPD_DEFAULT_MAX_SASLIO_SIZE 2097152 /* 2MB in bytes. Use -1 for no limit */
|
| |
#define SLAPD_DEFAULT_MAX_SASLIO_SIZE_STR "2097152"
|
| |
- #define SLAPD_DEFAULT_IOBLOCK_TIMEOUT 300000 /* 5 minutes in ms */
|
| |
- #define SLAPD_DEFAULT_IOBLOCK_TIMEOUT_STR "300000"
|
| |
+ #define SLAPD_DEFAULT_IOBLOCK_TIMEOUT 10000 /* 10 second in ms */
|
| |
+ #define SLAPD_DEFAULT_IOBLOCK_TIMEOUT_STR "10000"
|
| |
#define SLAPD_DEFAULT_OUTBOUND_LDAP_IO_TIMEOUT 300000 /* 5 minutes in ms */
|
| |
#define SLAPD_DEFAULT_OUTBOUND_LDAP_IO_TIMEOUT_STR "300000"
|
| |
#define SLAPD_DEFAULT_RESERVE_FDS 64
|
| |
Bug Description: An issue was raised that appears that our default
values may be misleading and hard to configure correctly in some
circumstances. We should improve our default values to have better
time sharing for connections.
Fix Description: Improve ioblock to be shorter to prevent write
blocks, make reads quicker for sharing, and by default have an
idle disconnect to clients.
https://pagure.io/389-ds-base/issue/50329
Author: William Brown william@blackhats.net.au
Review by: ???