Skip to content

Commit

Permalink
Merge pull request #2 from bolt/bobdenotter-patch-1
Browse files Browse the repository at this point in the history
Fix negative cache value
  • Loading branch information
bobdenotter authored May 8, 2021
2 parents 9e43e05 + 2310433 commit 8cad787
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/LiteEmbedWidget.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ class LiteEmbedWidget extends BaseWidget implements TwigAwareInterface, CacheAwa
protected $priority = 200;
protected $template = '@liteembed-extension/widget.html.twig';
protected $zone = RequestZone::FRONTEND;
protected $cacheDuration = -1800;
}
protected $cacheDuration = 1800;
}

0 comments on commit 8cad787

Please sign in to comment.