use streaming API by default
This commit is contained in:
parent
238ebcf1e4
commit
fd9f78a7a1
3 changed files with 4 additions and 2 deletions
|
@ -4,6 +4,8 @@
|
|||
|
||||
.emoji {
|
||||
--_still_image-label-scale: 0.5;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
& .text,
|
||||
|
|
|
@ -47,7 +47,7 @@ const chats = {
|
|||
const fetcher = () => dispatch('fetchChats', { latest: true })
|
||||
fetcher()
|
||||
commit('setChatListFetcher', {
|
||||
fetcher: () => promiseInterval(fetcher, 5000)
|
||||
fetcher: () => promiseInterval(fetcher, 60000)
|
||||
})
|
||||
},
|
||||
stopFetchingChats ({ commit }) {
|
||||
|
|
|
@ -55,7 +55,7 @@ export const defaultState = {
|
|||
highlight: {},
|
||||
interfaceLanguage: browserLocale,
|
||||
hideScopeNotice: false,
|
||||
useStreamingApi: false,
|
||||
useStreamingApi: true,
|
||||
sidebarRight: undefined, // instance default
|
||||
scopeCopy: undefined, // instance default
|
||||
subjectLineBehavior: undefined, // instance default
|
||||
|
|
Loading…
Reference in a new issue