const { executeTaskFunction } = require('../../test-utils.cjs')
const { TaskFunctions } = require('../../test-types.cjs')
+/**
+ *
+ * @param data
+ */
function test (data) {
data = data || {}
data.function = data.function || TaskFunctions.jsonIntegerSerialization
module.exports = new ClusterWorker(test, {
killBehavior: KillBehaviors.HARD,
- maxInactiveTime: 500
+ maxInactiveTime: 500,
})