DOCS Fix class reference for cache class

The `lifetime` config variable is on the `Cache` class, not the `Database` class.
This commit is contained in:
Guy Sartorelli 2022-03-07 11:20:01 +13:00 committed by GitHub
parent 25d8a55058
commit 04e4b60435
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ SilverStripe\Core\Injector\Injector:
SilverStripe\TextExtraction\Cache\FileTextCache:
class: SilverStripe\TextExtraction\Cache\FileTextCache\Cache
SilverStripe\TextExtraction\Cache\FileTextCache\Database:
SilverStripe\TextExtraction\Cache\FileTextCache\Cache:
lifetime: 3600 # Number of seconds to cache content for
```