Skip to content

Exceeds CPU time limit only on first few accesses #95

@ayame113

Description

@ayame113

After a new deployment, I get a "CPU time limit exceeded" error only on the first few accesses.
It may be related to the slow startup time (6 seconds) when running in the CLI.

Is it possible that this restriction will be relaxed?

image


By the way, it takes about 6 seconds for the console.log placed before the first import statement to be output, so I think it's taking time for something other than js execution.

// temp.ts
console.log(performance.now());
import "https://raw.githubusercontent.com/ayame113/deploy_gitrepo/v0.0.2/mod.ts";
> deno run -A ./temp.ts
5653.2906 #This will be output after waiting about 6 seconds

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions