1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 14:34:04 +00:00

Begin work on cached lookup

This commit is contained in:
Samuel Štancl 2020-03-14 00:16:57 +01:00
parent 142912edc5
commit c52d12cb99
6 changed files with 149 additions and 10 deletions

View file

@ -16,6 +16,8 @@ return [
'tenants' => 'tenants',
'domains' => 'domains',
],
'cache_store' => false, // What store should be used to cache tenant resolution. Set to false to disable cache, null to use default store, or a string with a specific cache store name.
'cache_ttl' => 3600, // seconds
],
'redis' => [
'driver' => Stancl\Tenancy\StorageDrivers\RedisStorageDriver::class,