跳转到内容

SEGMENTED_STORE_DEFAULTS

const SEGMENTED_STORE_DEFAULTS: {
codec: SegmentCodec;
restore: {
prefetchTailSegments: 1;
};
tenant: "default";
upload: {
concurrency: 4;
mode: "async";
retryBudget: {
attempts: 8;
maxBackoffMs: 60000;
};
};
};

缺省值单点(doc/119 §八 D-1/D-2/D-3)

readonly codec: SegmentCodec;

readonly restore: {
prefetchTailSegments: 1;
};
readonly prefetchTailSegments: 1;

readonly tenant: "default";

readonly upload: {
concurrency: 4;
mode: "async";
retryBudget: {
attempts: 8;
maxBackoffMs: 60000;
};
};
readonly concurrency: 4;
readonly mode: "async";
readonly retryBudget: {
attempts: 8;
maxBackoffMs: 60000;
};
readonly attempts: 8;
readonly maxBackoffMs: 60000;