Skip to content
Snippets Groups Projects
Commit 2ca86a16 authored by Jason Salyers's avatar Jason Salyers
Browse files

[JES] Hmm...

parent 00165e8b
No related branches found
No related tags found
2 merge requests!2Fail Over Capability,!1Automatic Fail Over
...@@ -383,6 +383,11 @@ class Steem extends EventEmitter { ...@@ -383,6 +383,11 @@ class Steem extends EventEmitter {
{ {
return; return;
} }
if (this.options.failover_threshold === 'undefined')
{
console.log("no failover options are listed, can't failover");
return;
}
if (this.errorCount >= this.options.failover_threshold) if (this.errorCount >= this.options.failover_threshold)
{ {
console.log("failing over"); console.log("failing over");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment