| 103 | return this.#instance; | 103 | return this.#instance; |
| 104 | } | 104 | } |
| 105 | | 105 | |
| 106 | this.#instance = storage.create({ dir: this.cachePath, ttl: false }); | 106 | this.#instance = storage.create({ dir: this.cachePath, ttl: false, forgiveParseErrors: true }); |
| 107 | await this.#instance.init(); | 107 | await this.#instance.init(); |
| 108 | this.#syncInterval = setInterval(this.#syncCacheEntries.bind(this), DiskCache.SYNC_INTERVAL); | 108 | this.#syncInterval = setInterval(this.#syncCacheEntries.bind(this), DiskCache.SYNC_INTERVAL); |
| 109 | return this.#instance; | 109 | return this.#instance; |