@@ -30,7 +30,7 @@ |
||
30 | 30 | int $hashLevel = 2 |
31 | 31 | ) { |
32 | 32 | if (empty($rootPath)) { |
33 | - $rootPath = \sys_get_temp_dir() . \DIRECTORY_SEPARATOR . 'phoole_cache'; |
|
33 | + $rootPath = \sys_get_temp_dir().\DIRECTORY_SEPARATOR.'phoole_cache'; |
|
34 | 34 | } |
35 | 35 | parent::__construct($rootPath, $hashLevel); |
36 | 36 | } |
@@ -34,10 +34,10 @@ |
||
34 | 34 | * @var array |
35 | 35 | */ |
36 | 36 | protected $settings = [ |
37 | - 'defaultTTL' => 86400, // default TTL 86400 seconds |
|
38 | - 'stampedeGap' => 60, // 0-120 seconds |
|
39 | - 'stampedePercent' => 5, // 5% chance considered stale |
|
40 | - 'distributedPercent' => 5, // 5% fluctuation of expiration time |
|
37 | + 'defaultTTL' => 86400, // default TTL 86400 seconds |
|
38 | + 'stampedeGap' => 60, // 0-120 seconds |
|
39 | + 'stampedePercent' => 5, // 5% chance considered stale |
|
40 | + 'distributedPercent' => 5, // 5% fluctuation of expiration time |
|
41 | 41 | ]; |
42 | 42 | |
43 | 43 | /** |