]> git.stg.codes - stg.git/commitdiff
Non-zero default values for aliveTimeout and userTimeout in USER
authorMaxim Mamontov <faust@gts.dp.ua>
Wed, 11 May 2011 14:56:46 +0000 (17:56 +0300)
committerMaxim Mamontov <faust@gts.dp.ua>
Wed, 11 May 2011 14:56:46 +0000 (17:56 +0300)
projects/sgauthstress/user.cpp

index 594879155ab12dd9a81bc4081ab62e7ed7d5dfcd..808ff7aa2cb98c9b68621b476b59bfe35b7990c5 100644 (file)
@@ -15,8 +15,8 @@ USER::USER(const std::string & l,
     : login(l),
       password(pwd),
       ip(i),
     : login(l),
       password(pwd),
       ip(i),
-      aliveTimeout(0),
-      userTimeout(0),
+      aliveTimeout(5),
+      userTimeout(60),
       phase(1),
       phaseChangeTime(0),
       rnd(0),
       phase(1),
       phaseChangeTime(0),
       rnd(0),