mirror of
https://github.com/irislib/iris-messenger.git
synced 2024-09-16 16:23:28 +00:00
slow down, idb
This commit is contained in:
parent
5ead29bc03
commit
4b51dcf604
@ -32,7 +32,8 @@ const INITIAL_EVENT_LOAD_LIMIT = 5000;
|
||||
const db = new MyDexie();
|
||||
|
||||
const handleEvent = (event: Event & { id: string }) => {
|
||||
setTimeout(() => {
|
||||
/*😆*/
|
||||
requestAnimationFrame(() => {
|
||||
Events.handle(event, false, false);
|
||||
});
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user