Merge pull request #3037 from urbit/lf/reconnect-fix

interface: correct order of arguments in resubscribe logic
This commit is contained in:
matildepark 2020-06-22 10:26:40 -04:00 committed by GitHub
commit 7fd2ead858
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,10 +12,10 @@ export default class BaseSubscription {
onChannelError(err) {
console.error('event source error: ', err);
setTimeout(2000, () => {
setTimeout(() => {
this.store.clear();
this.start();
});
}, 2000);
}
subscribe(path, app) {