17 Aug
2009
17 Aug
'09
7:32 p.m.
Gabriel Blanchard wrote:
Now on another note (not sure If I should create a separate thread about this)
in detail.c
/* * Cap delay at 4 packets/s. If the end system can't * handle this, then it's very broken. */ if (data->delay_time > (USEC / 4)) data->delay_time= USEC / 4;
My (and most) SQL servers are capable of handling more than 4 SQL queries per second. Maybe that setting shouldn't be so static?
The delay is inter-packet delay. i.e. time between reading two consecutive packets from the detail file. This code sets the *maximum* delay. It's capped at .25s. The *minimum* delay is whatever your SQL server can handle. Alan DeKok.