~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to lib/GenTest/Reporter/Deadlock.pm

the timeout values that are good for mleich will  probably be too low for PB2

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
use constant CONNECT_TIMEOUT_THRESHOLD          => 20;
22
22
 
23
23
# Minimum lifetime of a query before it is considered suspicios
24
 
use constant QUERY_LIFETIME_THRESHOLD           => 20;  # Seconds
 
24
use constant QUERY_LIFETIME_THRESHOLD           => 600; # Seconds
25
25
 
26
26
# Number of suspicious queries required before a deadlock is declared
27
 
use constant STALLED_QUERY_COUNT_THRESHOLD      => 2;
 
27
use constant STALLED_QUERY_COUNT_THRESHOLD      => 5;
28
28
 
29
29
sub monitor {
30
30
        my $reporter = shift;