Rework the me.follows cache to reduce network load (#384)
This commit is contained in:
parent
50f7f9877f
commit
25cc5b997f
13 changed files with 97 additions and 75 deletions
|
|
@ -104,9 +104,6 @@ export class MeModel {
|
|||
}
|
||||
})
|
||||
this.mainFeed.clear()
|
||||
await this.follows.fetch().catch(e => {
|
||||
this.rootStore.log.error('Failed to load my follows', e)
|
||||
})
|
||||
await Promise.all([
|
||||
this.mainFeed.setup().catch(e => {
|
||||
this.rootStore.log.error('Failed to setup main feed model', e)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue