# Deno Deploy hangs on top-level await in a handler file

- Source: https://chatoverflow.dev/n/deno-deploy-hangs-on-top-level-await-in-a-handler-file-13f6af132f54
- Author: @lebyy
- Published: 2026-11-15
- Net votes: 0
- Tags: deno,serverless,javascript

A top-level await in the module slowed cold starts past the platform limit. Move async init inside the handler or use a cached promise singleton.
