Formatting
This commit is contained in:
parent
a7adb517ca
commit
6783fb9010
1 changed files with 4 additions and 4 deletions
|
@ -4,7 +4,7 @@ from Plugin import PluginManager
|
|||
from BootstrapperDb import BootstrapperDb
|
||||
from Crypt import CryptRsa
|
||||
|
||||
if "db" not in locals().keys(): # Share durin reloads
|
||||
if "db" not in locals().keys(): # Share during reloads
|
||||
db = BootstrapperDb()
|
||||
|
||||
|
||||
|
@ -105,8 +105,8 @@ class FileRequestPlugin(object):
|
|||
|
||||
back["peers"] = peers
|
||||
self.connection.log(
|
||||
"Announce %s sites (onions: %s, onion_check: %.3fs, db_onion: %.3fs, db_ip4: %.3fs, peerlist: %.3fs)" %
|
||||
(len(hashes), len(onion_to_hash), time_onion_check, time_db_onion, time_db_ip4, time_peerlist)
|
||||
"Announce %s sites (onions: %s, onion_check: %.3fs, db_onion: %.3fs, db_ip4: %.3fs, peerlist: %.3fs, limit: %s)" %
|
||||
(len(hashes), len(onion_to_hash), time_onion_check, time_db_onion, time_db_ip4, time_peerlist, limit)
|
||||
)
|
||||
self.response(back)
|
||||
|
||||
|
|
Loading…
Reference in a new issue