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):
@app.route('/_healthy')
def healthy():
result = None
if isHealthy:
return {'healthy': True}
with healthLock:
if isHealthy:
return {'healthy': True}
doSearch('Dream', getTwitterSession())
if isHealthy:
print("Rate limit passed.")
return {'healthy': True}
return Response(status=500)
return result
return {"healthy": True}
#result = None
#if isHealthy:
# return {'healthy': True}
#with healthLock:
# if isHealthy:
# return {'healthy': True}
# doSearch('Dream', getTwitterSession())
# if isHealthy:
# print("Rate limit passed.")
# return {'healthy': True}
# return Response(status=500)
#return result
@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