dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
deea605
)
Some message caches are over 1MB
author
Tim Starling
<tstarling@users.mediawiki.org>
Sun, 8 Oct 2006 23:24:43 +0000
(23:24 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Sun, 8 Oct 2006 23:24:43 +0000
(23:24 +0000)
includes/MessageCache.php
patch
|
blob
|
history
diff --git
a/includes/MessageCache.php
b/includes/MessageCache.php
index
aa1fa1f
..
9cab222
100644
(file)
--- a/
includes/MessageCache.php
+++ b/
includes/MessageCache.php
@@
-78,7
+78,7
@@
class MessageCache {
$localHash = fread( $file, 32 );
if ( $hash == $localHash ) {
// All good, get the rest of it
- $serialized = fread( $file, 1000000 );
+ $serialized = fread( $file, 1000000
0
);
$this->mCache = unserialize( $serialized );
}
fclose( $file );