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:
d3f1d41
)
[FileBackend] Bumped Swift auth caching TTL.
author
Aaron
<aschulz@wikimedia.org>
Mon, 27 Aug 2012 18:56:05 +0000
(11:56 -0700)
committer
Aaron
<aschulz@wikimedia.org>
Mon, 27 Aug 2012 18:56:05 +0000
(11:56 -0700)
Change-Id: I5f119ff640cc7af604191450f4577a4564307499
includes/filebackend/SwiftFileBackend.php
patch
|
blob
|
history
diff --git
a/includes/filebackend/SwiftFileBackend.php
b/includes/filebackend/SwiftFileBackend.php
index
f54f666
..
fb385de
100644
(file)
--- a/
includes/filebackend/SwiftFileBackend.php
+++ b/
includes/filebackend/SwiftFileBackend.php
@@
-111,7
+111,7
@@
class SwiftFileBackend extends FileBackendStore {
: false;
$this->swiftCDNExpiry = isset( $config['swiftCDNExpiry'] )
? $config['swiftCDNExpiry']
- :
3600; // hour
+ :
12*3600; // 12 hours is safe (tokens last 24 hours per http://docs.openstack.org)
$this->swiftCDNPurgable = isset( $config['swiftCDNPurgable'] )
? $config['swiftCDNPurgable']
: true;