From: Aaron Date: Mon, 27 Aug 2012 18:56:05 +0000 (-0700) Subject: [FileBackend] Bumped Swift auth caching TTL. X-Git-Tag: 1.31.0-rc.0~22562^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/ajouter.php?a=commitdiff_plain;h=c5466ba03e0642b28075793ca1e2836fa8797896;p=lhc%2Fweb%2Fwiklou.git [FileBackend] Bumped Swift auth caching TTL. Change-Id: I5f119ff640cc7af604191450f4577a4564307499 --- diff --git a/includes/filebackend/SwiftFileBackend.php b/includes/filebackend/SwiftFileBackend.php index f54f6667fe..fb385de9ea 100644 --- 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;