NetEase/pomelo — pull request #591 by SuperGoo (2014-08-13 09:00:25+00:00)
Title: add env param for createMonitorConsole in monitor reconnect

See bug https://github.com/NetEase/pomelo/issues/589 for detail.

```
...
// monitor reconnect to master
Monitor.prototype.reconnect = function(masterInfo) {
var self = this;
this.stop(function() {
self.monitorConsole = admin.createMonitorConsole({
id: self.serverInfo.id,
type: self.app.getServerType(),
host: masterInfo.host,
port: masterInfo.port,
info: self.serverInfo,
env: self.app.get(Constants.RESERVED.ENV)
});
self.startConsole(function() {
logger.info('restart modules for server : %j finish.', self.app.serverId);
});
});
};
```