在NextJ中使用自定义服务器有什么问题吗?
我想在NextJ中使用Node-Cron。但是,它只需要在服务器开头初始化,并且无需在每个渲染中进行回忆。我发现它的一种方法是使用自定义服务器。但是,如果我使用自定义服务器,它会影响性能还是有其他问题?
I want to use node-cron in nextjs. But, it only needs to initialize at the beginning of the server, and no need for recalling in every render. The one way I found it is by using a custom server. But, if I use the custom server, will it affect performance or is there any other issue with that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论