@@ -35,7 +35,7 @@ module Agents |
||
35 | 35 |
MD |
36 | 36 |
|
37 | 37 |
default_schedule "every_10m" |
38 |
- MAX_REQUESTS = 10 |
|
38 |
+ MAX_EMPTY_REQUESTS = 10 |
|
39 | 39 |
|
40 | 40 |
def default_options |
41 | 41 |
{ |
@@ -132,7 +132,7 @@ module Agents |
||
132 | 132 |
request_limit+=1 |
133 | 133 |
end |
134 | 134 |
|
135 |
- if request_limit > MAX_REQUESTS |
|
135 |
+ if request_limit > MAX_EMPTY_REQUESTS |
|
136 | 136 |
raise RuntimeError("There is no progress while fetching issues") |
137 | 137 |
end |
138 | 138 |
|