update leakybucket readme (#2298)

This commit is contained in:
mmetc 2023-06-22 15:35:01 +02:00 committed by GitHub
parent fddf597040
commit 62caffb102
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View file

@ -12,9 +12,7 @@ import (
)
func runPour(input chan types.Event, holders []leaky.BucketFactory, buckets *leaky.Buckets, cConfig *csconfig.Config) error {
var (
count int
)
count := 0
for {
//bucket is now ready
select {

View file

@ -158,7 +158,7 @@ Bayesian Conditions are built from:
[This is not dry enough to have many details here, but:]
The bucket code is triggered by `InfiniBucketify` in `main.go`.
The bucket code is triggered by runPour in pour.go, by calling the `leaky.PourItemToHolders` function.
There is one struct called buckets which is for now a
`map[string]interface{}` that holds all buckets. The key of this map
is derived from the filter configured for the bucket and its