1 Star 0 Fork 3

lebu9527/puppeteer+koa爬虫程序

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
ecosystem.config.cjs 477 Bytes
一键复制 编辑 原始数据 按行查看 历史
钟鹏 提交于 2024-08-17 10:36 +08:00 . feat: 创建爬虫程序
module.exports = {
apps: [{
name: 'puppeteer',
script: 'service.js',
log_date_format: "YYYY-MM-DD HH:mm:ss",
instances: "max", // 进程实例的数量,"max" 表示根据 CPU 核心数自动设置
exec_mode: "cluster", // 运行模式,"cluster" 表示使用集群模式
max_memory_restart: "3G", // 在内存达到指定大小时自动重启应用程序
error_file: './logs/pm2_error_file.log',
out_file: './logs/out_file.log'
}],
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lebu2018/puppeteer_koa.git
git@gitee.com:lebu2018/puppeteer_koa.git
lebu2018
puppeteer_koa
puppeteer+koa爬虫程序
master

搜索帮助