-
-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #71 from ItaloBC/ItaloBC-ReloadOnOldDrip
Reload the Page if we miss the Drip
- Loading branch information
Showing
2 changed files
with
41 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
<?php | ||
|
||
return [ | ||
'dripIntervalInMilliSeconds' => 300000, // every 5 minutes | ||
'dripIntervalInMilliSeconds' => 300000, // Drip every 5 minutes | ||
'domain' => null, // defaults to url('/') | ||
'route' => 'genealabs/laravel-caffeine/drip', // can be customized | ||
'route' => 'genealabs/laravel-caffeine/drip', // Can be customized | ||
'thresholdDifference' => 10000, // When the drip will be considered old to reload the page | ||
'checkLastDripInterval' => 2000 // How often we will check if the drip is old | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters