Skip to content

Commit ec29d09

Browse files
authored
Merge branch 'master' into Laravel-5.5
2 parents 48f20d9 + 39d5b7a commit ec29d09

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)