From b4ed8fe17989736f83e21b604d9ed52a0ad91b80 Mon Sep 17 00:00:00 2001 From: Liam Fitzgerald Date: Fri, 25 Jun 2021 09:04:55 +1000 Subject: [PATCH] @urbit/http-api: disable subscription resume --- pkg/npm/http-api/src/Urbit.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/npm/http-api/src/Urbit.ts b/pkg/npm/http-api/src/Urbit.ts index 9c93156b6b..a43b8eb2e1 100644 --- a/pkg/npm/http-api/src/Urbit.ts +++ b/pkg/npm/http-api/src/Urbit.ts @@ -94,7 +94,7 @@ export class Urbit { credentials: 'include', accept: '*', headers, - signal: this.abort + signal: this.abort.signal }; } @@ -240,7 +240,8 @@ export class Urbit { } }, onerror: (error) => { - if(this.errorCount++ < 5) { + // Channel resume currently broken in eyre + if(false && this.errorCount++ < 5) { console.log(this.errorCount); this.onRetry && this.onRetry(); return Math.pow(2, this.errorCount - 1) * 750;