Revision 26751075
b/lib/utils.py | ||
---|---|---|
2107 | 2107 |
|
2108 | 2108 |
# Update for next run |
2109 | 2109 |
if self._limit is None or self._next < self._limit: |
2110 |
self._next = max(self._limit, self._next * self._factor)
|
|
2110 |
self._next = min(self._limit, self._next * self._factor)
|
|
2111 | 2111 |
|
2112 | 2112 |
return current |
2113 | 2113 |
|
Also available in: Unified diff