count insert

This commit is contained in:
Michele 2018-10-25 12:41:58 +02:00
parent 254405b1fb
commit 1ec55417d1
2 changed files with 5 additions and 2 deletions

View file

@ -153,7 +153,10 @@ func consumer() {
if opts.Test {
log.Printf("OK: %s - %+v\n", prod.user, prod.logins)
}
counter <- Counterchan{
tipo: "ins",
val: len(prod.logins),
}
}
}
}

View file

@ -14,7 +14,7 @@ import (
)
const (
_Version = "v4.4.2"
_Version = "v4.4.3"
_Producer = 0
_Consumer = 1
_Remover = 2