Permalink
Browse files

Fix require call and missing semicolon

  • Loading branch information...
1 parent b49c329 commit 8d9856e17f7b79ca30cc24b919fd869c08a8ff8a @sork sork committed Apr 6, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 server/js/metrics.js
@@ -7,8 +7,9 @@ module.exports = Metrics = Class.extend({
var self = this;
this.config = config;
- this.client = new require("memcache").Client(config.memcached_port, config.memcached_host),
@wiltaaronjr
wiltaaronjr Aug 15, 2016

this.client = new (require("memcache")).Client(config.memcached_port, config.memcached_host);

+ this.client = new (require("memcache")).Client(config.memcached_port, config.memcached_host);
this.client.connect();
+
this.isReady = false;
this.client.on('connect', function() {

0 comments on commit 8d9856e

Please sign in to comment.