|
Re: [CDO] Correctly configuring timeouts [message #1817972 is a reply to message #1817951] |
Tue, 03 December 2019 17:27 |
|
If I'm not totally misled (the remote progress monitoring is a bit complex) you can use CDONet4jSession#options()#setCommitTimeout(long) even if you don't pass your own progress monitor into the commit() method. Internally there are always progress signals exchanged over the wire and they reset the timeout. In the worst case you could pass a NullProgressMonitor to the commit() method, but I don't think that's required.
CDOTransaction#options()#setCommitInfoTimeout(long) is used to specify how long the transaction must wait after a commit to receive the server's OK notification. It can help when you experience "Did not receive an update" exceptions. A ore liekly cause for these exceptions is a bug in the thread pool which is fixed in recent I-builds and the upcoming 2019-12 release.
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
|
Powered by
FUDForum. Page generated in 0.04697 seconds