mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-22 17:11:43 +03:00
why is caching not working
This commit is contained in:
parent
45640e505e
commit
b5eee4cd2e
@ -12,7 +12,11 @@ export interface Refreshable {
|
||||
export class BranchStoresCache {
|
||||
virtualBranchStores: Map<string, Refreshable & Readable<Loadable<Branch[]>>> = new Map();
|
||||
remoteBranchStores: Map<string, Refreshable & Readable<Loadable<BranchData[]>>> = new Map();
|
||||
targetBranchStores: Map<string, Readable<Loadable<Target>>> = new Map();
|
||||
targetBranchStores: Map<string, Refreshable & Readable<Loadable<Target>>> = new Map();
|
||||
|
||||
constructor() {
|
||||
console.log('WHY IS THIS CALLED ALL THE TIME');
|
||||
}
|
||||
|
||||
getVirtualBranchStore(projectId: string) {
|
||||
const cachedStore = this.virtualBranchStores.get(projectId);
|
||||
|
Loading…
Reference in New Issue
Block a user