Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
Chapter 6. Overwriting the default transaction timeout
You can overwrite the transaction timeout by setting the value for the quarkus.transaction-manager.default-transaction-timeout property in your application.properties file. The default timeout for all transactions managed by the transaction manager is 60 seconds. If the transaction is not resolved within the timeout, the transaction manager automatically rolls it back.
Procedure
Set the
<duration>for thequarkus.transaction-manager.default-transaction-timeoutproperty in yourapplication.propertiesfile:quarkus.transaction-manager.default-transaction-timeout=<duration>You can set the
<duration>time in seconds or use the standardjava.time.Duration format. For example, to set the timeout to 2 minutes, enterquarkus.transaction-manager.default-transaction-timeout=PT2M.