Skip to content
Snippets Groups Projects
Commit 4d26e1e9 authored by Gandalf's avatar Gandalf
Browse files

[JES] Temporary disable blacklist checking. Those services seem to be having some issues

parent 4aded518
No related branches found
No related tags found
5 merge requests!456Release candidate v1 24,!230Setup monitoring with pghero,!135Enable postgres monitoring on CI server,!16Dk issue 3 concurrent block query rebase,!15Dk issue 3 concurrent block query
...@@ -41,6 +41,7 @@ class Mutes: ...@@ -41,6 +41,7 @@ class Mutes:
def load(self): def load(self):
"""Reload all accounts from irredeemables endpoint and global lists.""" """Reload all accounts from irredeemables endpoint and global lists."""
return
self.accounts = set(_read_url(self.url).decode('utf8').split()) self.accounts = set(_read_url(self.url).decode('utf8').split())
jsn = _read_url(self.blacklist_api_url + "/blacklists") jsn = _read_url(self.blacklist_api_url + "/blacklists")
self.blist = set(json.loads(jsn)) self.blist = set(json.loads(jsn))
...@@ -55,6 +56,7 @@ class Mutes: ...@@ -55,6 +56,7 @@ class Mutes:
@classmethod @classmethod
def lists(cls, name, rep): def lists(cls, name, rep):
"""Return blacklists the account belongs to.""" """Return blacklists the account belongs to."""
return[]
assert name assert name
inst = cls.instance() inst = cls.instance()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment