Changeset 0fccd1


Ignore:
Timestamp:
03/05/08 22:34:42 (4 years ago)
Author:
Tomash Brechko <tomash.brechko@…>
Branches:
master, ketama-compat
Children:
d5eceb
Parents:
787337
git-author:
Tomash Brechko <tomash.brechko@…> (03/05/08 22:01:15)
git-committer:
Tomash Brechko <tomash.brechko@…> (03/05/08 22:34:42)
Message:

Add NOREPLY switch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • script/benchmark.pl

    rcc8dfa r0fccd1  
    2727use constant key_count => 100; 
    2828use constant NOWAIT => 1; 
     29use constant NOREPLY => 1; 
    2930 
    3031my $value = 'x' x 40; 
     
    109110} 
    110111 
    111 my $noreply = scalar($min_version >= 10205); 
     112my $noreply = NOREPLY && $min_version >= 10205; 
    112113 
    113114@addrs = map { +{ address => $_, noreply => $noreply } } @addrs; 
Note: See TracChangeset for help on using the changeset viewer.