Commit e59b54db by zCaesar

edit to atomic

parent 2e04cdeb
var config = require('config');
// https://github.com/isaacs/node-lru-cache
var on_message_redis = require('./redis/on_message').on_message_redis
var on_message_redis = require('./redis-atomic/on_message').on_message_redis
var LRU = require("lru-cache"),
cache = LRU({
max: 500,
......
......@@ -3,7 +3,7 @@ var validator = require('./validator');
var config = require('config');
// var seneca = require('seneca')({log: 'silent'}).client({ port: config.get('device_registry_port'), host: config.get('device_registry_host') });
var seneca = require('seneca')({ log: 'silent' }).client({ port: config.get('token_registry_port'), host: config.get('token_registry_host') });
var on_register_redis = require('./redis/on_register').on_register_redis
var on_register_redis = require('./redis-atomic/on_register').on_register_redis
// https://github.com/isaacs/node-lru-cache
var LRU = require("lru-cache"),
......
var on_offline_redis = require('./redis/on_offline').on_offline_redis
var on_offline_redis = require('./redis-atomic/on_offline').on_offline_redis
module.exports = function (options = {}) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment