Skip to content

Commit

Permalink
[web-app] update default interval 600s to 120s (#268)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsun28 committed Jan 16, 2024
1 parent 4553a97 commit 64b414b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion web-app/src/app/pojo/Monitor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export class Monitor {
name!: string;
app!: string;
host!: string;
intervals: number = 600;
intervals: number = 120;
// 监控状态 0:未监控,1:可用,2:不可用,3:不可达,4:挂起
status!: number;
description!: string;
Expand Down
4 changes: 2 additions & 2 deletions web-app/src/assets/i18n/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
"host.tip": "The monitored peer IP or domain name",
"description": "Description",
"description.tip": "Description and remarks",
"intervals": "Intervals",
"intervals.tip": "Monitor the interval time of periodic collection of data, second",
"intervals": "Intervals(s)",
"intervals.tip": "Monitor the interval time of periodic collection of data, unit second",
"category": {
"": "Category",
"service": "Service",
Expand Down
2 changes: 1 addition & 1 deletion web-app/src/assets/i18n/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"host.tip": "被监控的对端IP或域名",
"description": "描述备注",
"description.tip": "更多标识和描述此监控的备注信息",
"intervals": "采集间隔",
"intervals": "采集间隔(秒)",
"intervals.tip": "监控周期性采集数据间隔时间,单位秒",
"category": {
"": "监控类别",
Expand Down
2 changes: 1 addition & 1 deletion web-app/src/assets/i18n/zh-TW.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"host.tip": "被監控的對端IP或域名",
"description": "描述備注",
"description.tip": "更多標識和描述此監控的備注信息",
"intervals": "采集間隔",
"intervals": "采集間隔(秒)",
"intervals.tip": "監控周期性采集數據間隔時間,單位秒",
"category": {
"": "監控類別",
Expand Down

0 comments on commit 64b414b

Please sign in to comment.