debug-4
All checks were successful
Deploy to notifier / deploy (push) Successful in 5s

This commit is contained in:
Untone 2024-02-03 22:43:04 +03:00
parent d62e229f63
commit 1635976edf

View File

@ -21,6 +21,7 @@ logger.setLevel(logging.DEBUG)
async def start_up(): async def start_up():
logger.info('[main] starting...')
await redis.connect() await redis.connect()
task = asyncio.create_task(notifications_worker()) task = asyncio.create_task(notifications_worker())
@ -31,6 +32,7 @@ async def start_up():
with open(DEV_SERVER_PID_FILE_NAME, 'w', encoding='utf-8') as f: with open(DEV_SERVER_PID_FILE_NAME, 'w', encoding='utf-8') as f:
f.write(str(os.getpid())) f.write(str(os.getpid()))
else: else:
logger.info('[main] production mode')
try: try:
import sentry_sdk import sentry_sdk