Skip to content

Doesn't work with pm2-beta #193

Open
@T1MOXA

Description

@T1MOXA
38 | var WORKER_INTERVAL = isNaN(parseInt(conf.workerInterval)) ? 30 * 1000 :
39 |   parseInt(conf.workerInterval) * 1000; // default: 30 secs
40 | var SIZE_LIMIT = get_limit_size(); // default : 10MB
41 | var ROTATE_CRON = conf.rotateInterval || "0 0 * * *"; // default : every day at midnight
42 | var RETAIN = isNaN(parseInt(conf.retain)) ? undefined : parseInt(conf.retain); // All
43 | var COMPRESSION = JSON.parse(conf.compress) || false; // Do not compress by default
                            ^
SyntaxError: JSON Parse error: Unexpected identifier "undefined"
      at /root/.pm2/modules/pm2-logrotate-ext/node_modules/pm2-logrotate-ext/app.js:43:24
      at /root/.bun/install/global/node_modules/require-in-the-middle/index.js:101:39
      at /root/.bun/install/global/node_modules/pm2-beta/lib/ProcessContainerForkBun.js:27:1

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