Skip to content

Commit

Permalink
Merge branch 'Laravel-5.5' of github.com:GeneaLabs/laravel-caffeine i…
Browse files Browse the repository at this point in the history
…nto Laravel-5.5
  • Loading branch information
mikebronner committed Dec 9, 2017
2 parents 61eb2fd + ec29d09 commit b8612b5
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/Dripper.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,22 @@ public function getIntervalAttribute() : string
300000
);
}

public function getThresholdAttribute() : int
{
return config(
'genealabs-laravel-caffeine.thresholdDifference',
10000
);
}

public function getCheckIntervalAttribute() : int
{
return config(
'genealabs-laravel-caffeine.checkLastDripInterval',
2000
);
}

public function getUrlAttribute() : string
{
Expand Down

0 comments on commit b8612b5

Please sign in to comment.