Skip to content

Commit

Permalink
Temporarily disable #648 to reduce risk of regression of bringing oth…
Browse files Browse the repository at this point in the history
…er change to Bohemia (#659)

Temporarily disable #648 to reduce risk of regression of bringing other change to Bohemia
  • Loading branch information
vladsud authored Nov 26, 2019
1 parent 3015594 commit 40880a1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ import { getUrlAndHeadersWithAuth } from "./getUrlAndHeadersWithAuth";
import { OdspCache } from "./odspCache";
import { getWithRetryForTokenRefresh, throwOdspNetworkError } from "./OdspUtils";

const blobReuseFeatureDisabled = true;

export class OdspDocumentStorageManager implements IDocumentStorageManager {
// This cache is associated with mapping sha to path for previous summary which belongs to last summary handle.
private blobsShaToPathCache: Map<string, string> = new Map();
Expand Down Expand Up @@ -544,7 +546,7 @@ export class OdspDocumentStorageManager implements IDocumentStorageManager {
let completePath = this.blobsShaToPathCache.get(hash);
// If the cache has the hash of the blob and handle of last summary is also present, then use that to generate complete path for
// the given blob.
if (!completePath || !this.lastSummaryHandle) {
if (blobReuseFeatureDisabled || !completePath || !this.lastSummaryHandle) {
value = {
content,
encoding,
Expand Down

0 comments on commit 40880a1

Please sign in to comment.