Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- this.runCheckStatus = function (data, callback) {
- var taskManager = Config.get('servers:task_manager'),
- body = Helper.now() + Helper.makeId(10),
- prefix = 'sc',
- cacheKey = cacheComponent.keyBuilder(body, prefix);
- transportComponent.request(
- {
- worker: taskManager,
- action: 'status_changes',
- key: body,
- keyPrefix: prefix
- }, {key: cacheKey}, function (e, r) {
- callback(e, r);
- }
- );
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement