[FileRepo] Lowered negative caching duration.

Change-Id: I288ce2eef3cf547e254843c7f806925ee44391ca
This commit is contained in:
Aaron Schulz 2013-01-24 13:31:40 -08:00
parent b4edbc0540
commit 7cd5b25321

View file

@ -252,7 +252,8 @@ class LocalFile extends File {
}
}
$wgMemc->set( $key, $cache, 60 * 60 * 24 * 7 ); // A week
// Cache presence for 1 week and negatives for 1 day
$wgMemc->set( $key, $cache, $this->fileExists ? 86400 * 7 : 86400 );
}
/**