From f9647c539cdc21456734b5b352d73c14cf39aca6 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Fri, 23 Aug 2019 11:26:49 -0700 Subject: [PATCH] dep: update bbloom again --- bloom_cache.go | 2 +- go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bloom_cache.go b/bloom_cache.go index f99bb2b..bd3c611 100644 --- a/bloom_cache.go +++ b/bloom_cache.go @@ -51,7 +51,7 @@ func bloomCached(ctx context.Context, bs Blockstore, bloomSize, hashCount int) ( case <-ctx.Done(): return case <-t.C: - fill.Set(bc.bloom.FillRatio()) + fill.Set(bc.bloom.FillRatioTS()) } } } diff --git a/go.mod b/go.mod index 0533af9..709877b 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,7 @@ module github.com/ipfs/go-ipfs-blockstore require ( github.com/hashicorp/golang-lru v0.5.1 - github.com/ipfs/bbloom v0.0.3 + github.com/ipfs/bbloom v0.0.4 github.com/ipfs/go-block-format v0.0.1 github.com/ipfs/go-cid v0.0.1 github.com/ipfs/go-datastore v0.0.1 diff --git a/go.sum b/go.sum index 390c624..ab63ec6 100644 --- a/go.sum +++ b/go.sum @@ -12,8 +12,8 @@ github.com/gxed/hashland/murmur3 v0.0.1 h1:SheiaIt0sda5K+8FLz952/1iWS9zrnKsEJaOJ github.com/gxed/hashland/murmur3 v0.0.1/go.mod h1:KjXop02n4/ckmZSnY2+HKcLud/tcmvhST0bie/0lS48= github.com/hashicorp/golang-lru v0.5.1 h1:0hERBMJE1eitiLkihrMvRVBYAkpHzc/J3QdDN+dAcgU= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/ipfs/bbloom v0.0.3 h1:IK4vb8M08SL4pJ925AmqvDv28ASEkwhudq3HNoWE5O4= -github.com/ipfs/bbloom v0.0.3/go.mod h1:cS9YprKXpoZ9lT0n/Mw/a6/aFV6DTjTLYHeA+gyqMG0= +github.com/ipfs/bbloom v0.0.4 h1:Gi+8EGJ2y5qiD5FbsbpX/TMNcJw8gSqr7eyjHa4Fhvs= +github.com/ipfs/bbloom v0.0.4/go.mod h1:cS9YprKXpoZ9lT0n/Mw/a6/aFV6DTjTLYHeA+gyqMG0= github.com/ipfs/go-block-format v0.0.1 h1:GjLpqsPNn2KbzA2GuG+hsUyxMhQ1xXgffWqWOee9e9o= github.com/ipfs/go-block-format v0.0.1/go.mod h1:DK/YYcsSUIVAFNwo/KZCdIIbpN0ROH/baNLgayt4pFc= github.com/ipfs/go-cid v0.0.1 h1:GBjWPktLnNyX0JiQCNFpUuUSoMw5KMyqrsejHYlILBE= -- GitLab