Mercurial > hg > blitz_stable
comparison config/blitz.config @ 14:3d83b0e0b75a
Restore old backoff settings - seem to work a little better.
author | Dan Creswell <dan.creswell@gmail.com> |
---|---|
date | Sun, 14 Jun 2009 20:25:45 +0100 |
parents | e3649bdf4973 |
children | 5a2eeff2a043 |
comparison
equal
deleted
inserted
replaced
13:e3649bdf4973 | 14:3d83b0e0b75a |
---|---|
155 // prevent deadlock. Such transactions can fail and require aborting | 155 // prevent deadlock. Such transactions can fail and require aborting |
156 // should they fail to get a lock. When this happens, the thread | 156 // should they fail to get a lock. When this happens, the thread |
157 // attempting the transaction will backoff by an amount of time dictated | 157 // attempting the transaction will backoff by an amount of time dictated |
158 // by base_backoff + Random(jitter) ms which should allow the conflicting | 158 // by base_backoff + Random(jitter) ms which should allow the conflicting |
159 // transaction time to complete. Format is {base_backoff, jitter} | 159 // transaction time to complete. Format is {base_backoff, jitter} |
160 loadBackoff = new int[] {20, 20}; | 160 loadBackoff = new int[] {20, 50}; |
161 | 161 |
162 // The maximum allowable lease time for entries and notify registrations | 162 // The maximum allowable lease time for entries and notify registrations |
163 // To permit Lease.FOREVER, set the LeaseBound = 0. | 163 // To permit Lease.FOREVER, set the LeaseBound = 0. |
164 // To deny Lease.FOREVER and set an upper limit on lease time set the | 164 // To deny Lease.FOREVER and set an upper limit on lease time set the |
165 // LeaseBound to a positive non-zero value in milliseconds | 165 // LeaseBound to a positive non-zero value in milliseconds |