count insert
This commit is contained in:
parent
254405b1fb
commit
1ec55417d1
2 changed files with 5 additions and 2 deletions
|
@ -153,7 +153,10 @@ func consumer() {
|
||||||
if opts.Test {
|
if opts.Test {
|
||||||
log.Printf("OK: %s - %+v\n", prod.user, prod.logins)
|
log.Printf("OK: %s - %+v\n", prod.user, prod.logins)
|
||||||
}
|
}
|
||||||
|
counter <- Counterchan{
|
||||||
|
tipo: "ins",
|
||||||
|
val: len(prod.logins),
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
2
main.go
2
main.go
|
@ -14,7 +14,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
_Version = "v4.4.2"
|
_Version = "v4.4.3"
|
||||||
_Producer = 0
|
_Producer = 0
|
||||||
_Consumer = 1
|
_Consumer = 1
|
||||||
_Remover = 2
|
_Remover = 2
|
||||||
|
|
Loading…
Add table
Reference in a new issue