Skip to content

Commit

Permalink
Put a very low cache TTL
Browse files Browse the repository at this point in the history
Experimenting shows the IliadBox is really aggressive in expiring session tokens.
  • Loading branch information
madpilot78 committed Aug 17, 2024
1 parent fbb2c56 commit 64d2c88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
public const int DEFAULT_TIMEOUT = 30;
public const string CERT_PATH = '/data';
public const string CACHE_KEY_BASE = 'madpilot78:FreeBoxPHP:';
public const int TOKEN_TTL = 300;
public const int TOKEN_TTL = 60;

public ?string $certFile;
public string $deviceName;
Expand Down

0 comments on commit 64d2c88

Please sign in to comment.