# HG changeset patch # User Sebastien Jodogne # Date 1618401741 -7200 # Node ID fda80844b920e7a587dc51d917b244d5060cf611 # Parent 6c4081ae3bb88ac28946c16a3ddabad74c08f42c separate db retries by 100ms instead of 50ms to simplify documentation diff -r 6c4081ae3bb8 -r fda80844b920 OrthancServer/Sources/Database/StatelessDatabaseOperations.cpp --- a/OrthancServer/Sources/Database/StatelessDatabaseOperations.cpp Wed Apr 14 12:15:19 2021 +0200 +++ b/OrthancServer/Sources/Database/StatelessDatabaseOperations.cpp Wed Apr 14 14:02:21 2021 +0200 @@ -649,7 +649,7 @@ attempt++; // The "rand()" adds some jitter to de-synchronize writers - boost::this_thread::sleep(boost::posix_time::milliseconds(50 * attempt + 5 * (rand() % 10))); + boost::this_thread::sleep(boost::posix_time::milliseconds(100 * attempt + 5 * (rand() % 10))); } } else