Commit | Line | Data |
---|---|---|
325f50bc | 1 | 'use strict' |
d35e5717 | 2 | const { ClusterWorker, KillBehaviors } = require('../../../lib/index.cjs') |
325f50bc | 3 | |
3a502712 JB |
4 | /** |
5 | * | |
6 | */ | |
fe2f6f84 | 7 | function test () {} |
325f50bc | 8 | |
4c35177b | 9 | module.exports = new ClusterWorker(test, { |
cca3bb1a | 10 | killBehavior: KillBehaviors.HARD, |
3a502712 | 11 | maxInactiveTime: 500, |
4c35177b | 12 | }) |