Message80652
| Author |
ocean-city |
| Recipients |
amaury.forgeotdarc, barry, benjamin.peterson, gregory.p.smith, jcea, mhammond, ocean-city, trent |
| Date |
2009年01月27日.14:29:56 |
| SpamBayes Score |
4.0831964e-07 |
| Marked as misclassified |
No |
| Message-id |
<1233066625.0.0.0692990190192.issue3892@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I've investigated more. I think this is timeout problem. According to
following site,
http://www.oracle.com/technology/documentation/berkeley-
db/db/api_c/rep_timeout.html
timeout should be specified in microseconds. This means
self.dbenvMaster.rep_set_timeout(db.DB_REP_CONNECTION_RETRY,100123)
only waits 10msec. This is too small comparing to default timeout.
Probably 10sec is appropriate here.
After I applied an attached patch "fix_timeout.py", I ran test several
times and found no error.
# I changed time.time()+10 to time.time()+30 because my machine is too
slow, so 10sec was not enough. :-[ |
|