Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-570

Negative reported getProcessingTime(), zero getMaxProcessingTime()

    XMLWordPrintable

Details

    Description

      Reporting of processing time does not work:

      • maxProcessingTime is always 0 (zero)
      • processingTime is huge negative number, for example -8487404155063010

      Root cause is very simple and obvious from sources:

      1. request start time is recorded in nanoseconds (System.nanoTime())
      2. request end time is taken in milliseconds (System.currentTimeMillis())
      3. their difference is, therefore, huge negative number

      Attachments

        Activity

          People

            sdouglas1@redhat.com Stuart Douglas
            podlesakk Kamil Podlešák (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: