Compare commits

..

No commits in common. "fed9a89d9d7372d3ebbe0288ead91d3ffa3e26f1" and "ad6088c5f3c8a6ef09197d5375593f449f6bc8bf" have entirely different histories.

1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ import (
"github.com/docker/docker/client"
)
const COUNTER_SLOTS = 50
const COUNTER_SLOTS = 20
func main() {
containerName, ok := os.LookupEnv("CONTAINER_NAME")
@ -92,8 +92,8 @@ func (c *Counter) countViewers(part string) {
if c.names[mod] != part {
c.counters[mod] = 0
c.current = i
}
c.current = i
c.counters[mod] += 1
c.names[mod] = part
}