Skip to main content
Version: v1

IRouterliciousDriverPolicies Interface

Signature

export interface IRouterliciousDriverPolicies

Properties

Property Modifiers Type Description
aggregateBlobsSmallerThanBytes number | undefined Give hosts the option to change blob aggregation behavior to suit their needs. Larger number means fewer blob individual requests, but less blob-deduping. Smaller number means more blob individual requests, but more blob-deduping. Setting to undefined disables blob aggregration. Default: undefined
enableDiscovery optional boolean Enable service endpoint discovery when creating or joining a session. Default: false
enablePrefetch boolean Enable prefetching entire snapshot tree into memory before it is loaded by the runtime. Default: true
enableRestLess boolean Enable using RestLess which avoids CORS preflight requests. Default: true
enableWholeSummaryUpload boolean Enable uploading entire summary tree as a IWholeSummaryPayload to storage. Default: false
maxConcurrentOrdererRequests number Rate limit concurrent orderer requests. Default: 100
maxConcurrentStorageRequests number Rate limit concurrent storage requests. Default: 100

Property Details

aggregateBlobsSmallerThanBytes

Give hosts the option to change blob aggregation behavior to suit their needs. Larger number means fewer blob individual requests, but less blob-deduping. Smaller number means more blob individual requests, but more blob-deduping. Setting to undefined disables blob aggregration. Default: undefined

Signature

aggregateBlobsSmallerThanBytes: number | undefined;

Type: number | undefined

enableDiscovery

Enable service endpoint discovery when creating or joining a session. Default: false

Signature

enableDiscovery?: boolean;

Type: boolean

enablePrefetch

Enable prefetching entire snapshot tree into memory before it is loaded by the runtime. Default: true

Signature

enablePrefetch: boolean;

Type: boolean

enableRestLess

Enable using RestLess which avoids CORS preflight requests. Default: true

Signature

enableRestLess: boolean;

Type: boolean

enableWholeSummaryUpload

Enable uploading entire summary tree as a IWholeSummaryPayload to storage. Default: false

Signature

enableWholeSummaryUpload: boolean;

Type: boolean

maxConcurrentOrdererRequests

Rate limit concurrent orderer requests. Default: 100

Signature

maxConcurrentOrdererRequests: number;

Type: number

maxConcurrentStorageRequests

Rate limit concurrent storage requests. Default: 100

Signature

maxConcurrentStorageRequests: number;

Type: number