Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-475

[python] Proton wrapper API's use of time values is inconsistent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • proton-0.5
    • proton-0.6
    • proton-c
    • None

    Description

      The precision used for timeout values in the Python API is inconsistent. In some case (messenger's timeout for example), timeouts are expressed in seconds using a float. In other cases, (driver wait(), etc), timeouts are expressed in milliseconds.

      To be consistent with the Python time module, we should be expressing timeout values as seconds using a float.

      There should be no change to the AMQP timestamp type, of course, which is defined as milliseconds since unix epoch.

      Attachments

        Activity

          People

            kgiusti Ken Giusti
            kgiusti Ken Giusti
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: