Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
M
memcache
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
1
Merge Requests
1
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
memcache
Commits
46b23ffb
Commit
46b23ffb
authored
Sep 29, 2011
by
catch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#1131370
by das-peter: Follow-up for segment wildcard counts by [0].
parent
57f44554
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
memcache.inc
memcache.inc
+2
-2
No files found.
memcache.inc
View file @
46b23ffb
...
...
@@ -256,8 +256,8 @@ class MemCacheDrupal implements DrupalCacheInterface {
// Find statically cached wildcards, and determine possibly matching
// wildcards for this cid based on a history of the lengths of past
// valid wildcard flushes in this bin.
if
(
isset
(
$wildcard_flushes
[
$this
->
bin
][
$wildcard_key
]))
{
foreach
(
$wildcard_flushes
[
$this
->
bin
][
$wildcard_key
]
as
$flush_length
=>
$timestamp
)
{
if
(
isset
(
$
this
->
wildcard_flushes
[
$this
->
bin
][
$wildcard_key
]))
{
foreach
(
$
this
->
wildcard_flushes
[
$this
->
bin
][
$wildcard_key
]
as
$flush_length
=>
$timestamp
)
{
if
(
$length
>=
$flush_length
&&
$timestamp
>=
(
$_SERVER
[
'REQUEST_TIME'
]
-
$this
->
invalidate
))
{
$key
=
'.wildcard-'
.
substr
(
$cid
,
0
,
$flush_length
);
$wildcard
=
dmemcache_key
(
$key
,
$this
->
bin
);
...
...
Write
Preview
Markdown
is supported
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