swarm/storage/feed: Increase the lookup timeout to 1 second.

This commit is contained in:
Javier Peletier 2019-04-02 23:50:39 +02:00
parent 8624668e6c
commit 4981a9a1ca

View file

@ -27,7 +27,7 @@ import (
const ( const (
hasherCount = 8 hasherCount = 8
feedsHashAlgorithm = storage.SHA3Hash feedsHashAlgorithm = storage.SHA3Hash
defaultRetrieveTimeout = 100 * time.Millisecond defaultRetrieveTimeout = 1000 * time.Millisecond
) )
// cacheEntry caches the last known update of a specific Swarm feed. // cacheEntry caches the last known update of a specific Swarm feed.