.
This commit is contained in:
parent
79f1ce80e3
commit
0d018caa98
1 changed files with 2 additions and 1 deletions
|
@ -37,6 +37,7 @@ func consumer(id int) {
|
|||
user: prod.user,
|
||||
logins: make([]string, 0),
|
||||
error: false,
|
||||
empty: true,
|
||||
}
|
||||
|
||||
start := time.Now()
|
||||
|
@ -101,7 +102,7 @@ func consumer(id int) {
|
|||
|
||||
count.AddLog(len(prod.logins))
|
||||
|
||||
if opts.MaxLogins != -1 && len(prod.logins) < opts.MaxLogins {
|
||||
if opts.MaxLogins > -1 && len(prod.logins) < opts.MaxLogins {
|
||||
cons.empty = true
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue