-// eslint-disable-next-line import/no-unresolved, n/no-missing-import
import { WebSocket } from 'ws'
const ws = new WebSocket('ws://localhost:8080')
)
}
for (let i = 0; i < 60; i++) {
- ws.send(JSON.stringify({ type: 'factorial', data: { number: 30 } }))
+ ws.send(JSON.stringify({ type: 'factorial', data: { number: 50000 } }))
}
})