Skip to content

Commit

Permalink
Merge pull request #300 from N5GEH/dependabot/npm_and_yarn/frontend/r…
Browse files Browse the repository at this point in the history
…ollup-3.29.5

chore(deps): bump rollup from 3.21.1 to 3.29.5 in /frontend
  • Loading branch information
djs0109 authored Sep 30, 2024
2 parents 02598f6 + 7b681e1 commit 118566d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
11 changes: 3 additions & 8 deletions backend/api/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -766,8 +766,7 @@ async def check_orion():
"message": None if status else "Failed to connect"}
except Exception as e:
logging.error(f"Error checking Orion: {e}")
return {"status": False, "latency": latency,
"latency_unit": "ms", "message": str(e)}
return {"status": False, "message": str(e)}
async def check_postgres():
"""
Check whether the PostgreSQL database is running properly.
Expand All @@ -780,10 +779,8 @@ async def check_postgres():
return {"status": True, "latency": latency,
"latency_unit": "ms", "message": None}
except Exception as e:
latency = (time.time() - start_time)*1000
logging.error(f"Error checking PostgreSQL: {e}")
return {"status": False, "latency": latency,
"latency_unit": "ms", "message": str(e)}
return {"status": False, "message": str(e)}
async def check_redis():
"""
Check whether the Redis cache is running properly.
Expand All @@ -795,10 +792,8 @@ async def check_redis():
return {"status": True, "latency": latency,
"latency_unit": "ms", "message": None}
except Exception as e:
latency = (time.time() - start_time)*1000
logging.error(f"Error checking Redis: {e}")
return {"status": False, "latency": latency,
"latency_unit": "ms", "message": str(e)}
return {"status": False, "message": str(e)}
if __name__ == "__main__":
uvicorn.run(app, host="0.0.0.0", port=8000, reload=True,
log_level=settings.LOG_LEVEL.lower())
6 changes: 3 additions & 3 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 118566d

Please sign in to comment.