Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] <Ping timeout is automatically reset to 65535> #1210

Closed
1 task done
Kylin-Guo opened this issue Aug 29, 2023 · 4 comments · Fixed by #1216
Closed
1 task done

[BUG] <Ping timeout is automatically reset to 65535> #1210

Kylin-Guo opened this issue Aug 29, 2023 · 4 comments · Fixed by #1216
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@Kylin-Guo
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

在app-ping.yml文件中,数字的区间范围是0~100000,但在Web页面中设置监控时若输入的数值大于65535则会自动重置为65535,不能往上增加

image

Expected Behavior

No response

Steps To Reproduce

No response

Environment

HertzBeat version(s):1.4.0

Debug logs

No response

Anything else?

No response

@Kylin-Guo Kylin-Guo added the bug Something isn't working label Aug 29, 2023
@hertzbeat hertzbeat changed the title [BUG] <Ping超时时间自动重设为65535> [BUG] <Ping timeout is automatically reset to 65535> Aug 29, 2023
@tomsun28
Copy link
Contributor

thanks, got it.

@tomsun28 tomsun28 added the good first issue Good for newcomers label Aug 29, 2023
@apache apache deleted a comment from hertzbeat Aug 29, 2023
@qyaaaa
Copy link
Contributor

qyaaaa commented Aug 31, 2023

    name:
      zh-CN: Ping超时时间(ms)
      en-US: Ping Timeout(ms)
    # type-param field type(most mapping the html input type)
    # type-字段类型,样式(大部分映射input标签type属性)
    type: number
    # when type is number, range is required
    # 当type为number时,用range表示范围
    range: '[0,100000]'
    # required-true or false
    # 是否是必输项 true-必填 false-可选
    required: true
    # default value 6000
    # 默认值 6000
    defaultValue: 6000

有许多type为number但range不为'[0,65535]'复用了同一个组件,前端限制为 [nzMin]="-1000" [nzMax]="65535" ,有什么好的想法解决这个问题吗?或许我可以帮忙修复它。

@tomsun28
Copy link
Contributor

tomsun28 commented Sep 6, 2023

@qyaaaa great! thanks.

@apache apache deleted a comment from hertzbeat Sep 6, 2023
@tomsun28 tomsun28 linked a pull request Sep 6, 2023 that will close this issue
3 tasks
@tomsun28
Copy link
Contributor

hi the new version v1.4.1 has solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants