Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 206cf9d

Browse files
committed
fix the wrong age default value
1 parent f454389 commit 206cf9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/apis/self.crawl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def on_start(self):
1818

1919
the following parameters are optional
2020

21-
* `age` - the period of validity of the task. The page would be regarded as not modified during the period. _default: 0(never recrawl)_ <a name="age" href="#age">¶</a>
21+
* `age` - the period of validity of the task. The page would be regarded as not modified during the period. _default: -1(never recrawl)_ <a name="age" href="#age">¶</a>
2222

2323
```python
2424
@config(age=10 * 24 * 60 * 60)

0 commit comments

Comments
 (0)