Skip to content

Commit

Permalink
set default max_result_count=30
Browse files Browse the repository at this point in the history
  • Loading branch information
ClericPy committed Dec 25, 2021
1 parent 71b0023 commit 06eadc4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion watchdogs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
from .config import Config
from .main import init_app

__version__ = '1.8.4'
__version__ = '1.8.5'
__all__ = ['Config', 'init_app']
logging.getLogger('watchdogs').addHandler(logging.NullHandler())
2 changes: 1 addition & 1 deletion watchdogs/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ class Task(BaseModel):
origin_url: str = ''
interval: int = 300
work_hours: str = '0, 24'
max_result_count: int = 10
max_result_count: int = 30
latest_result: str = '{}'
result_list = '[]'
last_check_time: datetime = date0
Expand Down
2 changes: 1 addition & 1 deletion watchdogs/static/js/watchdogs.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ var Main = {
origin_url: "",
interval: 300,
work_hours: "0, 24",
max_result_count: 10,
max_result_count: 30,
result_list: "[]",
custom_info: "",
}
Expand Down
Loading

0 comments on commit 06eadc4

Please sign in to comment.