Skip to content

Commit

Permalink
Extend cache duration for Twitter profile images (#2225)
Browse files Browse the repository at this point in the history
  • Loading branch information
chitoku-k authored Feb 9, 2023
1 parent 5fe0002 commit 7dd9abd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/Service/Profile/TwitterProfileService.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

class TwitterProfileService implements ProfileServiceContract
{
public const CACHE_EXPIRE = 180;
public const CACHE_EXPIRE = 60 * 60 * 24 * 30;

public function __construct(
protected ClientInterface $client,
Expand Down

0 comments on commit 7dd9abd

Please sign in to comment.