Skip to content

Commit

Permalink
Align with upstream low timeout.
Browse files Browse the repository at this point in the history
  • Loading branch information
madpilot78 committed Aug 17, 2024
1 parent 31bdffb commit 0c71b97
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion config/freebox.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
'timeout' => env('FREEBOXPHP_TIMEOUT', 30),

// Token cache timeout
'tokenttl' => (int) env('FREEBOXPHP_TOKEN_TTL', 300),
'tokenttl' => (int) env('FREEBOXPHP_TOKEN_TTL', 60),

// Token cache timeout
'cachebase' => env('FREEBOXPHP_CACHE_BASE', 'madpilot78:FreeBoxPHP:'),
Expand Down
2 changes: 1 addition & 1 deletion src/FreeBoxPHPServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function register()
logger: $app->get(LoggerInterface::class)->channel(config('freebox.log_channel', 'null')),
container: $app,
timeout: config('freebox.timeout', 30),
tokenTTL: config('freebox.tokenttl', 300),
tokenTTL: config('freebox.tokenttl', 60),
cacheKeyBase: config('freebox.cachebase', 'madpilot78:FreeBoxPHP:'),
cache: app('cache.store'),
deviceName: config('freebox.devicename'),
Expand Down

0 comments on commit 0c71b97

Please sign in to comment.