Skip to content

Commit

Permalink
fix database
Browse files Browse the repository at this point in the history
  • Loading branch information
ildyria committed Jan 10, 2025
1 parent 1e83ebe commit 3ad3d6c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions database/migrations/2024_12_28_190150_caching_config.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ public function getConfigs(): array
return [
[
'key' => 'cache_enabled',
'value' => '1',
'value' => '0',
'cat' => 'Mod Cache',
'type_range' => self::BOOL,
'description' => 'Enable caching of responses given requests.',
'details' => 'This will significantly speed up the response time of Lychee.',
'details' => 'This will significantly speed up the response time of Lychee. <span class="pi pi-exclamation-triangle text-orange-500"></span> If you are using password protected albums, you should not enable this.',
'is_secret' => false,
'level' => 0,
],
[
'key' => 'cache_event_logging',
'value' => '1', // TODO: flip to false
'value' => '0',
'cat' => 'Mod Cache',
'type_range' => self::BOOL,
'description' => 'Add log lines for events related to caching.',
Expand All @@ -28,11 +28,11 @@ public function getConfigs(): array
],
[
'key' => 'cache_ttl',
'value' => '60',
'value' => '300',
'cat' => 'Mod Cache',
'type_range' => self::POSITIVE,
'description' => 'Number of seconds responses should be cached.',
'details' => '',
'details' => 'Longer TTL will save more resources but may result in outdated responses.',
'is_secret' => false,
'level' => 1,
],
Expand Down

0 comments on commit 3ad3d6c

Please sign in to comment.