Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 17 » MobiLink - Server Administration » MobiLink server options

-r mlsrv17 option

Sets the maximum number of deadlock retries.

mlsrv17 -c "connection-string" -r retries ...

By default, MobiLink server retries uploads that are deadlocked in the consolidated database for a maximum of 10 attempts. If the deadlock is not broken, synchronization fails, since there is no guarantee that the deadlock can be overcome. This option allows an arbitrary retry limit to be set. To stop the server from retrying deadlocked transactions, specify -r 0. The upper bound on this setting is 2 to the power 32, minus one.

Note Deadlocks should not be part of a normal synchronizations system. If they are encountered, then they should be eliminated by fixing your synchronization scripts.