Skip to content

Commit

Permalink
use third party lib; remove memored
Browse files Browse the repository at this point in the history
  • Loading branch information
srinandan committed Jun 7, 2019
1 parent 0d36d6e commit 86e898d
Show file tree
Hide file tree
Showing 5 changed files with 423 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cli/lib/gateway.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const net = require('net');
const edgeconfig = require('microgateway-config');
const gateway = require('microgateway-core');
const reloadCluster = require('./reload-cluster');
const JsonSocket = require('./json-socket');
const JsonSocket = require('../../third_party/json-socket/json-socket');
const configLocations = require('../../config/locations');
const isWin = /^win/.test(process.platform);
const ipcPath = configLocations.getIPCFilePath();
Expand Down
2 changes: 1 addition & 1 deletion cli/lib/reload-cluster.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var cluster = require('cluster');
var EventEmitter = require('events').EventEmitter;
var cpuCount = require('os').cpus().length;
const cache = require('memored');
const cache = require('../../third_party/memored/memored');

const PURGE_INTERVAL = 60000;

Expand Down
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"edgemicro": "./cli/edgemicro"
},
"dependencies": {
"@google-cloud/trace-agent": "^3.1.1",
"apigeetool": "^0.7.0",
"async": "^1.5.2",
"body-parser": "^1.12.4",
Expand All @@ -24,7 +23,6 @@
"jsonwebtoken": "^5.7.0",
"lodash": "^4.17.10",
"log-symbols": "^1.0.2",
"memored": "^1.1.1",
"microgateway-config": "^2.4.19",
"microgateway-core": "^2.5.17",
"microgateway-edgeauth": "^2.4.18",
Expand Down
File renamed without changes.
Loading

0 comments on commit 86e898d

Please sign in to comment.