Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Anti-censorship
BridgeDB
Commits
c05941ff
Unverified
Commit
c05941ff
authored
Jan 12, 2014
by
Isis Lovecruft
Browse files
Log when a distributor's hashrings are being prepopulated.
parent
e7018ff6
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/bridgedb/Dist.py
View file @
c05941ff
...
...
@@ -157,6 +157,7 @@ class IPBasedDistributor(Distributor):
self
.
setDistributorName
(
'HTTPS'
)
def
prepopulateRings
(
self
):
logging
.
info
(
"Prepopulating %s distributor hashrings..."
%
self
.
name
)
# populate all rings (for dumping assignments and testing)
for
filterFn
in
[
None
,
filterBridgesByIP4
,
filterBridgesByIP6
]:
n
=
self
.
nClusters
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment