This commit is contained in:
Vanessa 2023-06-09 09:24:00 +08:00
parent 52b378b2c7
commit 2d056409c4
2 changed files with 3 additions and 3 deletions

View file

@ -182,6 +182,9 @@ export class App {
setNoteBook();
initBlockPopover(this);
promiseTransactions();
window.setInterval(() => {
console.log(new Date().getTime())
}, 10000);
}
}

View file

@ -316,9 +316,6 @@ const updateEmbed = (protyle: IProtyle, operation: IOperation) => {
};
export const promiseTransactions = () => {
window.setInterval(() => {
console.log(new Date().getTime())
}, 10000);
window.siyuan.transactionsTimeout = window.setInterval(() => {
if (window.siyuan.transactions.length === 0) {
return;