mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-28 19:55:53 +03:00
Merge pull request #3037 from urbit/lf/reconnect-fix
interface: correct order of arguments in resubscribe logic
This commit is contained in:
commit
7fd2ead858
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user