Commit eb36ab3a authored by nanahira's avatar nanahira

it soon wiped all nodes

parent 79b0651f
Pipeline #18302 passed with stage
in 18 seconds
...@@ -60,18 +60,19 @@ def doSearch(screen_name, twitter_b): ...@@ -60,18 +60,19 @@ def doSearch(screen_name, twitter_b):
@app.route('/_healthy') @app.route('/_healthy')
def healthy(): def healthy():
result = None return {"healthy": True}
if isHealthy: #result = None
return {'healthy': True} #if isHealthy:
with healthLock: # return {'healthy': True}
if isHealthy: #with healthLock:
return {'healthy': True} # if isHealthy:
doSearch('Dream', getTwitterSession()) # return {'healthy': True}
if isHealthy: # doSearch('Dream', getTwitterSession())
print("Rate limit passed.") # if isHealthy:
return {'healthy': True} # print("Rate limit passed.")
return Response(status=500) # return {'healthy': True}
return result # return Response(status=500)
#return result
@app.route("/<screen_name>") @app.route("/<screen_name>")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment