1.0.6 Commented out more node.stop() calls
- Commented out all node.stop() calls to prevent the node from exiting under various error conditions
This commit is contained in:
parent
0061285204
commit
3598c92e0f
@ -49,7 +49,9 @@ DB.dependencies = [];
|
||||
DB.prototype._onError = function(err) {
|
||||
if (!this._stopping) {
|
||||
log.error('Db Service: error: ' + err);
|
||||
this.node.stop();
|
||||
//FLO Crash Error Resolution by RanchiMall 10th May 2021
|
||||
//return this.node.stop();
|
||||
//this.node.stop();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@ -247,7 +247,7 @@ MempoolService.prototype._onTransaction = function(tx) {
|
||||
self._db.batch(ops, function(err) {
|
||||
if(err) {
|
||||
log.error(err);
|
||||
self.node.stop();
|
||||
// self.node.stop();
|
||||
}
|
||||
|
||||
for (var i = 0; i < self._subscriptions.transaction.length; i++) {
|
||||
|
||||
@ -364,7 +364,8 @@ P2P.prototype._matchNetwork = function(network) {
|
||||
log.error('Configured network: "' + this.node.network +
|
||||
'" does not match our peer\'s reported network: "' +
|
||||
network.name + '".');
|
||||
return this.node.stop();
|
||||
// return this.node.stop();
|
||||
return ;
|
||||
}
|
||||
|
||||
return this.node.network === network.name ? network.name : network.alias;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user