Question regarding TransactionConfiguration.UNSET_TIMEOUT

86 views
Skip to first unread message

David Hoffer

unread,
Aug 19, 2021, 3:24:14 PM8/19/21
to Quarkus Development mailing list
We have some operations that take much longer to complete then our normal JTA timeout config.   I see Quarkus has @TransactionConfiguration(timeout = X) where we can override the default.

But I'm curious what is the expected behavior of TransactionConfiguration.UNSET_TIMEOUT?  Is that infinite or something else?  If something else, what does that do?

If we want infinite and that does not do that, do we just pick a big number?  Is there a max?

-Dave




Stuart Douglas

unread,
Aug 19, 2021, 4:06:56 PM8/19/21
to David Hoffer, Quarkus Development mailing list
I think it just falls back to the default of 1 minute (set in quarkus.transaction-manager.default-transaction-timeout).

Just set a large number if you want a basically indefinite timeout.

Stuart

--
You received this message because you are subscribed to the Google Groups "Quarkus Development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quarkus-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/a63e7303-2103-46dd-bcf7-1c88b099c551n%40googlegroups.com.

David Hoffer

unread,
Aug 19, 2021, 4:08:58 PM8/19/21
to Stuart Douglas, Quarkus Development mailing list
Thanks, will do.

-Dave
Reply all
Reply to author
Forward
0 new messages