Fixed #613: Don't pull nodeinfo from blocked servers!
This commit is contained in:
parent
759d5ac052
commit
aac75dd4c3
|
@ -33,6 +33,10 @@ class DomainStates(StateGraph):
|
|||
|
||||
@classmethod
|
||||
def handle_outdated(cls, instance: "Domain"):
|
||||
# Don't talk to servers we've blocked
|
||||
if instance.blocked:
|
||||
return cls.updated
|
||||
# Pull their nodeinfo URI
|
||||
info = instance.fetch_nodeinfo()
|
||||
if info:
|
||||
instance.nodeinfo = info.dict()
|
||||
|
|
Loading…
Reference in New Issue