diff options
author | Ollie H <renahlee@outlook.com> | 2023-05-30 17:23:55 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-30 19:23:55 -0500 |
commit | 072682dd9f8843787229a98fbeea24161bc0c9b4 (patch) | |
tree | 931c55dd298e36e363bb0366f41d671043f091ba /src/state/models/cache | |
parent | deebe18aaa883d7fcedabd594dda057f991c3026 (diff) | |
download | voidsky-072682dd9f8843787229a98fbeea24161bc0c9b4.tar.zst |
Rework scaled dimensions and compression (#737)
* Rework scaled dimensions and compression * Unbreak image / banner uploads --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
Diffstat (limited to 'src/state/models/cache')
-rw-r--r-- | src/state/models/cache/image-sizes.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/state/models/cache/image-sizes.ts b/src/state/models/cache/image-sizes.ts index bbfb9612b..c30a68f4d 100644 --- a/src/state/models/cache/image-sizes.ts +++ b/src/state/models/cache/image-sizes.ts @@ -16,6 +16,7 @@ export class ImageSizesCache { if (Dimensions) { return Dimensions } + const prom = this.activeRequests.get(uri) || new Promise<Dimensions>(resolve => { |