Skip to content

Minimum client timeout 1s? #1142

@MAKOMO

Description

@MAKOMO

Versions

  • Python: 3.11
  • OS: macOS
  • Pymodbus: 3.0
  • Modbus Hardware (if used):

Pymodbus Specific

  • Server: tcp - sync
  • Client: tcp - sync

Description

The minimum timeout that can be set on a client is one seconds as the timeout parameter is an int and at 0 it does not connect. Wouldn't it be better to have timeout as a float to be able to specify tighter timeouts especially for TCP clients?

Code and Logs

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions