add comlexity push for poll, does only show on travis
This commit is contained in:
parent
1aefebd78f
commit
1495a0c67c
|
@ -3906,6 +3906,7 @@ RequestManager.prototype.reset = function () {
|
||||||
* @method poll
|
* @method poll
|
||||||
*/
|
*/
|
||||||
RequestManager.prototype.poll = function () {
|
RequestManager.prototype.poll = function () {
|
||||||
|
/*jshint maxcomplexity: 6 */
|
||||||
this.timeout = setTimeout(this.poll.bind(this), c.ETH_POLLING_TIMEOUT);
|
this.timeout = setTimeout(this.poll.bind(this), c.ETH_POLLING_TIMEOUT);
|
||||||
|
|
||||||
if (this.polls === {}) {
|
if (this.polls === {}) {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -3906,6 +3906,7 @@ RequestManager.prototype.reset = function () {
|
||||||
* @method poll
|
* @method poll
|
||||||
*/
|
*/
|
||||||
RequestManager.prototype.poll = function () {
|
RequestManager.prototype.poll = function () {
|
||||||
|
/*jshint maxcomplexity: 6 */
|
||||||
this.timeout = setTimeout(this.poll.bind(this), c.ETH_POLLING_TIMEOUT);
|
this.timeout = setTimeout(this.poll.bind(this), c.ETH_POLLING_TIMEOUT);
|
||||||
|
|
||||||
if (this.polls === {}) {
|
if (this.polls === {}) {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -196,6 +196,7 @@ RequestManager.prototype.reset = function () {
|
||||||
* @method poll
|
* @method poll
|
||||||
*/
|
*/
|
||||||
RequestManager.prototype.poll = function () {
|
RequestManager.prototype.poll = function () {
|
||||||
|
/*jshint maxcomplexity: 6 */
|
||||||
this.timeout = setTimeout(this.poll.bind(this), c.ETH_POLLING_TIMEOUT);
|
this.timeout = setTimeout(this.poll.bind(this), c.ETH_POLLING_TIMEOUT);
|
||||||
|
|
||||||
if (this.polls === {}) {
|
if (this.polls === {}) {
|
||||||
|
|
Loading…
Reference in New Issue