id_worker.js 242 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 /** * id_worker * Created by lintry on 2018/8/23. */ const IdWorker = require('kml-id-worker'), id_worker = new IdWorker({datacenterId: global.config.id_worker.datacenterId, workerId: process.pid & 0x1f}); module.exports = id_worker;