We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3672b23 commit 249ada1Copy full SHA for 249ada1
server/fishtest/github_api.py
@@ -126,12 +126,6 @@ def _is_master(sha, official_master_sha):
126
127
def is_master(sha):
128
try:
129
- # Non sha arguments cannot be safely cached
130
- validate(sha_schema, sha)
131
- # Protect against DOS'ing
132
- rate_limit_ = rate_limit()
133
- if rate_limit_["used"] > rate_limit_["remaining"]:
134
- raise Exception(r"Rate limit more than 50% consumed.")
135
return _is_master(sha, _official_master_sha)
136
except Exception as e:
137
print(f"Unable to evaluate is_master({sha}): {str(e)}", flush=True)
0 commit comments