Skip to content

whistle.script 加载脚本容易出现超时 #27

@youfak

Description

@youfak

Error: Script execution timed out after 600ms
at Script.runInContext (node:vm:141:12)
at execScript (/root/.WhistleAppData/custom_plugins/whistle.script/node_modules/whistle.script/lib/scripts.js:63:12)
at exports.getHandler (/root/.WhistleAppData/custom_plugins/whistle.script/node_modules/whistle.script/lib/scripts.js:94:10)
at module.exports (/root/.WhistleAppData/custom_plugins/whistle.script/node_modules/whistle.script/lib/auth.js:7:38)
at Server. (/usr/local/lib/node_modules/whistle/lib/plugins/load-plugin.js:1799:32)
at Server.emit (node:events:513:28)
at Server. (/usr/local/lib/node_modules/whistle/lib/plugins/load-plugin.js:2006:24)
at Server.emit (node:events:513:28)
at parserOnIncoming (node:_http_server:1072:12)
at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17) {
code: 'ERR_SCRIPT_EXECUTION_TIMEOUT'
}

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