sqldb: improve serialization error handling

This commit is contained in:
Alex Akselrod
2024-11-06 11:29:47 -08:00
parent c01dcc2be7
commit 780c271b80
6 changed files with 44 additions and 16 deletions

View File

@@ -22,7 +22,7 @@ const (
// DefaultNumTxRetries is the default number of times we'll retry a
// transaction if it fails with an error that permits transaction
// repetition.
DefaultNumTxRetries = 10
DefaultNumTxRetries = 20
// DefaultRetryDelay is the default delay between retries. This will be
// used to generate a random delay between 0 and this value.