Merge pull request #115 from falkoro/patch-1

Update health_service.py
Kaveen Kumarasinghe 2 years ago committed by GitHub
commit a1e87ec14f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -8,7 +8,7 @@ app = Flask(__name__)
start_time = datetime.datetime.now()
@app.route("/")
@app.route('/healthz')
def health():
# Find the difference between the current time and start_time in seconds
uptime = (datetime.datetime.now() - start_time).total_seconds()

Loading…
Cancel
Save