Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Robert Dubner
OpenLDAP
Commits
85b68aa5
Commit
85b68aa5
authored
Jan 13, 2021
by
Howard Chu
Browse files
ITS#8307 slapo-dds: mark internal searches as do_not_cache
parent
eefe1236
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/overlays/dds.c
View file @
85b68aa5
...
...
@@ -155,6 +155,7 @@ dds_expire( void *ctx, dds_info_t *di )
op
->
ors_tlimit
=
DDS_INTERVAL
(
di
)
/
2
+
1
;
op
->
ors_slimit
=
SLAP_NO_LIMIT
;
op
->
ors_attrs
=
slap_anlist_no_attrs
;
op
->
o_do_not_cache
=
1
;
expire
=
slap_get_time
()
-
di
->
di_tolerance
;
ts
.
bv_val
=
tsbuf
;
...
...
@@ -1722,6 +1723,7 @@ dds_count( void *ctx, BackendDB *be )
op
->
ors_tlimit
=
SLAP_NO_LIMIT
;
op
->
ors_slimit
=
SLAP_NO_LIMIT
;
op
->
ors_attrs
=
slap_anlist_no_attrs
;
op
->
o_do_not_cache
=
1
;
op
->
ors_filterstr
.
bv_len
=
STRLENOF
(
"(objectClass="
")"
)
+
slap_schema
.
si_oc_dynamicObject
->
soc_cname
.
bv_len
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment