From ada2f71ab7af07e1d82ab5b0d2c02a15e01fbd0a Mon Sep 17 00:00:00 2001 From: marko <> Date: Fri, 26 Oct 2007 12:34:53 +0000 Subject: [PATCH] branches/zip: Reduce WAIT_FOR_READ from 20 to 5 milliseconds, to correspond to the time in which modern disks can serve a random disk read. --- buf/buf0buf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buf/buf0buf.c b/buf/buf0buf.c index 7da713b127c..41d108d0fb6 100644 --- a/buf/buf0buf.c +++ b/buf/buf0buf.c @@ -203,7 +203,7 @@ the read requests for the whole area. */ /* Value in microseconds */ -static const int WAIT_FOR_READ = 20000; +static const int WAIT_FOR_READ = 5000; buf_pool_t* buf_pool = NULL; /* The buffer buf_pool of the database */