Skip to content

Commit 14304b0

Browse files
committed
cleanup
1 parent d17487c commit 14304b0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

JetStreamDriver.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ class Benchmark {
689689

690690
async doLoadBlob(resource) {
691691
let response;
692-
const tries = 3;
692+
let tries = 3;
693693
while (tries--) {
694694
let hasError = false;
695695
try {
@@ -711,7 +711,7 @@ class Benchmark {
711711
}
712712

713713
async loadBlob(type, prop, resource, incrementRefCount = true) {
714-
const blobData = JetStream.blobDataCache[resource];
714+
let blobData = JetStream.blobDataCache[resource];
715715
if (!blobData) {
716716
blobData = {
717717
type: type,
@@ -727,7 +727,7 @@ class Benchmark {
727727
if (incrementRefCount)
728728
blobData.refCount++;
729729

730-
const promise = JetStream.loadCache[resource];
730+
let promise = JetStream.loadCache[resource];
731731
if (promise)
732732
return promise;
733733

0 commit comments

Comments
 (0)