We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@put(':id/start') @ApiOperation({ summary: '启动任务' }) @perm(permissions.START) async start(@IdParam() id: number): Promise { const task = await this.taskService.info(id)
await this.taskService.start(task)
} 开启任务后会报错
当我进行序列化的时候redis会报错 const serializedData = JSON.stringify({ id: task.id, service: task.service, args: task.data }) const job = await this.taskQueue.add( serializedData, { jobId: task.id, removeOnComplete: true, removeOnFail: true, repeat }, )
The text was updated successfully, but these errors were encountered:
https://stackoverflow.com/questions/78911536/rangeerror-err-buffer-out-of-bounds-length-is-outside-of-buffer-bounds-in-n 已找到问题点在哪里了,不能使用最新node22版本
Sorry, something went wrong.
No branches or pull requests
@put(':id/start')
@ApiOperation({ summary: '启动任务' })
@perm(permissions.START)
async start(@IdParam() id: number): Promise {
const task = await this.taskService.info(id)
}
开启任务后会报错
当我进行序列化的时候redis会报错
const serializedData = JSON.stringify({ id: task.id, service: task.service, args: task.data })
const job = await this.taskQueue.add(
serializedData,
{ jobId: task.id, removeOnComplete: true, removeOnFail: true, repeat },
)
The text was updated successfully, but these errors were encountered: