Uploaded image for project: 'Quarkus'
  1. Quarkus
  2. QUARKUS-5830

Avoid creating a timer when reconnectDelay is set to Max

      When dealing with SSE using a Multi in the REST Client, the `reconnectDelay` is [set](https://github.com/quarkusio/quarkus/blob/bd77018404ed7151c9b58fa88fa1dbb5d014630e/independent-projects/resteasy-reactive/client/runtime/src/main/java/org/jboss/resteasy/reactive/client/impl/MultiInvoker.java#L177) to `Integer.MAX_VALUE` in order to essentially turn off reconnecting.
      In this case we need to avoid creating a timer that will linger around forever and potentially create a OOME

      • Fixes: #46237

              Unassigned Unassigned
              blafond Barry LaFond
              Fedor Dudinskii Fedor Dudinskii
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: