Skip to content

Commit b8612b5

Browse files
committed
Merge branch 'Laravel-5.5' of github.com:GeneaLabs/laravel-caffeine into Laravel-5.5
2 parents 61eb2fd + ec29d09 commit b8612b5

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/Dripper.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,22 @@ public function getIntervalAttribute() : string
3636
300000
3737
);
3838
}
39+
40+
public function getThresholdAttribute() : int
41+
{
42+
return config(
43+
'genealabs-laravel-caffeine.thresholdDifference',
44+
10000
45+
);
46+
}
47+
48+
public function getCheckIntervalAttribute() : int
49+
{
50+
return config(
51+
'genealabs-laravel-caffeine.checkLastDripInterval',
52+
2000
53+
);
54+
}
3955

4056
public function getUrlAttribute() : string
4157
{

0 commit comments

Comments
 (0)