load user pins in the database worker
This commit is contained in:
@@ -42,6 +42,7 @@ module.exports.create = function (config, cb) {
|
||||
batchMetadata: BatchRead('GET_METADATA'),
|
||||
batchRegisteredUsers: BatchRead("GET_REGISTERED_USERS"),
|
||||
batchDiskUsage: BatchRead('GET_DISK_USAGE'),
|
||||
batchUserPins: BatchRead('LOAD_USER_PINS'),
|
||||
|
||||
//historyKeeper: config.historyKeeper,
|
||||
intervals: config.intervals || {},
|
||||
@@ -242,6 +243,7 @@ module.exports.create = function (config, cb) {
|
||||
}));
|
||||
}).nThen(function (w) {
|
||||
HK.initializeIndexWorkers(Env, {
|
||||
pinPath: pinPath,
|
||||
filePath: config.filePath,
|
||||
archivePath: config.archivePath,
|
||||
channelExpirationMs: config.channelExpirationMs,
|
||||
|
||||
Reference in New Issue
Block a user