mirror of
https://github.com/morgan9e/chatgpt-web
synced 2026-04-14 00:14:04 +09:00
Delay message cache save to 200ms
This commit is contained in:
@@ -245,7 +245,7 @@
|
|||||||
setMessagesTimer = setTimeout(() => {
|
setMessagesTimer = setTimeout(() => {
|
||||||
getChat(chatId).messages = messages
|
getChat(chatId).messages = messages
|
||||||
saveChatStore()
|
saveChatStore()
|
||||||
}, 100)
|
}, 200)
|
||||||
} else {
|
} else {
|
||||||
getChat(chatId).messages = messages
|
getChat(chatId).messages = messages
|
||||||
saveChatStore()
|
saveChatStore()
|
||||||
|
|||||||
Reference in New Issue
Block a user