Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit 11b492e

Browse files
committed
Force dht crawl and don't load dht data from cache
1 parent 3629edd commit 11b492e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

dht/network.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,6 @@ def get(self, keyword, save_at_nearest=True):
246246
:class:`None` if not found, the value otherwise.
247247
"""
248248
dkey = digest(keyword)
249-
if self.storage.get(dkey) is not None:
250-
return defer.succeed(self.storage.get(dkey))
251249
node = Node(dkey)
252250
nearest = self.protocol.router.findNeighbors(node)
253251
if len(nearest) == 0:

0 commit comments

Comments
 (0)