Fix pending publishes
This fixes an issue where claim_list_mine is called even after a claim is confirmed. Also updating time check interval to 30s from 10s.
This commit is contained in:
parent
a90870e1f9
commit
96cdf2029f
1 changed files with 2 additions and 2 deletions
|
@ -281,7 +281,7 @@ export const doCheckPendingPublishes = () => (dispatch: Dispatch, getState: GetS
|
|||
|
||||
dispatch(batchActions(...actions));
|
||||
|
||||
if (!Object.keys(pendingPublishes).length) {
|
||||
if (!Object.keys(pendingPublishMap).length) {
|
||||
clearInterval(publishCheckInterval);
|
||||
}
|
||||
});
|
||||
|
@ -291,6 +291,6 @@ export const doCheckPendingPublishes = () => (dispatch: Dispatch, getState: GetS
|
|||
checkFileList();
|
||||
publishCheckInterval = setInterval(() => {
|
||||
checkFileList();
|
||||
}, 10000);
|
||||
}, 30000);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue