server.js 157 B

123456789
  1. // eslint-disable-next-line strict
  2. const egg = require('egg');
  3. const workers = Number(2);
  4. egg.startCluster({
  5. workers,
  6. baseDir: __dirname,
  7. });