File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ module.exports = class Connection {
148
148
// been running for 5 minutes
149
149
if ( readyToResolve
150
150
|| ( ( self . count / self . benchmark_obj . request_interval ) === 1 )
151
- || ( self . count === self . last_count [ 0 ]
151
+ || ( self . count == self . last_count [ 0 ]
152
152
&& ( ( ( self . count / self . benchmark_obj . request_interval ) > .9 )
153
153
|| ( counter ++ >= 300 )
154
154
) ) ) {
@@ -163,7 +163,6 @@ module.exports = class Connection {
163
163
// If the number of successful requests is not changing, we can assume no more
164
164
// will be coming in.
165
165
self . last_count . push ( self . count ) ;
166
- counter ++ ;
167
166
168
167
} , 1000 ) ;
169
168
}
@@ -226,7 +225,7 @@ module.exports = class Connection {
226
225
227
226
// increment error tacker by 1
228
227
self . connection_errors ++ ;
229
- console . log ( "Connection Error: " + error . toString ( ) ) ;
228
+ // console.log("Connection Error: " + error.toString());
230
229
231
230
// try to reconnect
232
231
self . connect ( ) ;
You can’t perform that action at this time.
0 commit comments