fix: skip health server in dev mode (no port needed locally)
All checks were successful
ci / ci (push) Successful in 51s
All checks were successful
ci / ci (push) Successful in 51s
This commit is contained in:
parent
e46c04fe98
commit
8f2e121d61
1 changed files with 2 additions and 1 deletions
|
|
@ -26,7 +26,8 @@ async def main():
|
||||||
instance = "DEV" if config.DEV else "PROD"
|
instance = "DEV" if config.DEV else "PROD"
|
||||||
logger.info(f"Lancement de Vision Studio [{instance}]...")
|
logger.info(f"Lancement de Vision Studio [{instance}]...")
|
||||||
|
|
||||||
await start_health_server(config.HEALTH_PORT)
|
if not config.DEV:
|
||||||
|
await start_health_server(config.HEALTH_PORT)
|
||||||
|
|
||||||
bot = VisionBot()
|
bot = VisionBot()
|
||||||
try:
|
try:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue