TrackerShare: store trackers in shared-trackers.json, since trackers.json is in use by AnnounceShare and may have an incompatible format in the future
This commit is contained in:
parent
f5b63a430c
commit
aa6d7a468d
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ class TrackerStorage(object):
|
||||||
self.shared_trackers_limit_per_protocol = {}
|
self.shared_trackers_limit_per_protocol = {}
|
||||||
self.shared_trackers_limit_per_protocol["other"] = 2
|
self.shared_trackers_limit_per_protocol["other"] = 2
|
||||||
|
|
||||||
self.file_path = "%s/trackers.json" % config.data_dir
|
self.file_path = "%s/shared-trackers.json" % config.data_dir
|
||||||
self.load()
|
self.load()
|
||||||
self.time_discover = 0.0
|
self.time_discover = 0.0
|
||||||
self.time_success = 0.0
|
self.time_success = 0.0
|
||||||
|
|
Loading…
Reference in a new issue