aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/store-api.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-12-11 11:49:42 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-12-11 11:49:42 +0100
commit772778c0eced8f8d63bfe6b1e9801ad6aada65bf (patch)
treeb93190ac1e556060923024d05cf79cfbf33a97f8 /src/libstore/store-api.cc
parente087bfef5f36f309b1c8d01bfe297e4cf4decb34 (diff)
On SQLITE_BUSY, wait a random amount of time
If all contending processes wait a fixed amount of time (100 ms), there is a good probability that they'll just collide again.
Diffstat (limited to 'src/libstore/store-api.cc')
0 files changed, 0 insertions, 0 deletions