Wildfly default value for blocking-timeout-wait-millis

1.2k views Asked by At

I have searched the wildfly documentation but didn't find any information on the default value of a datasource blocking-timeout-wait-millis. So if the element is not specified in the configuration what default value does it get? (since the name contain 'millis' at least it is clear what the unit is) I also checked the value via jmx however the field is just empty...

1

There are 1 answers

0
Lonzak On BEST ANSWER

Ok, found it in the wildfly datasource schemas:

<xs:complexType name="timeoutType">
<xs:sequence>
  <xs:element name="blocking-timeout-millis" type="xs:nonNegativeInteger" minOccurs="0">
    <xs:annotation>
      <xs:documentation>
        <![CDATA[[
          The blocking-timeout-millis element indicates the maximum time in
          milliseconds to block while waiting for a connection before throwing an exception.
          Note that this blocks only while waiting for a permit for a connection, and
          will never throw an exception if creating a new connection takes an inordinately
          long time. The default is 30000 (30 seconds).
         ]]>
      </xs:documentation>
    </xs:annotation>
  </xs:element>
...