Skip to content

Commit

Permalink
Update backend/backend/wsgi.py
Browse files Browse the repository at this point in the history
Signed-off-by: Chandrasekharan M <[email protected]>
  • Loading branch information
chandrasekharan-zipstack authored Jan 31, 2025
1 parent 900ee19 commit 1b0ff65
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions backend/backend/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@
os.environ.get("DJANGO_SETTINGS_MODULE", "backend.settings.dev"),
)

start_time = time.time()
wsgi_start_time = time.perf_counter()
django_app = get_wsgi_application()
logger.info(f"WSGI application initialized in {(time.time() - start_time):.3f} seconds")
wsgi_init_elapsed = time.perf_counter() - wsgi_start_time
logger.info(f"WSGI application initialized in {wsgi_init_elapsed:.3f} seconds")


application = start_server(django_app, f"{settings.PATH_PREFIX}/socket")

0 comments on commit 1b0ff65

Please sign in to comment.