Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-1231

default timeout settings for hotrod server produce warning

XMLWordPrintable

      org.infinispan.config.TimeoutConfigurationValidatingVisitor checks timeout values and produces following output:
      ISPN00148: Invalid <transport>: distributedSyncTimout value of 60000. It can not be higher than <stateRetrieval>:timeout which is 10000

      TransportType:
      protected Long distributedSyncTimeout = 240000L; // default
      (in EDG this is overriden to 60000)

      StateRetrievalType:
      protected Long timeout = 240000L;

      when HotRodServer creates its topology cache, it supplies default value of 10000 (see TOPO_REPL_TIMEOUT_DEFAULT in https://github.com/infinispan/infinispan/blob/master/server/core/src/main/scala/org/infinispan/server/core/Main.scala)

      but this leads to above WARN message.

              rh-ee-galder Galder ZamarreƱo
              mlinhard Michal Linhard (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: