이 콘텐츠는 선택한 언어로 제공되지 않습니다.
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>
quarkus.transaction-manager.default-transaction-timeout=<duration>Copy to Clipboard Copied! Toggle word wrap Toggle overflow 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.