fix showWhateverWeHaveAtXMs experiment (would never have run)
This commit is contained in:
parent
a3a6b7728a
commit
919455c9e2
1 changed files with 4 additions and 7 deletions
|
|
@ -1,5 +1,4 @@
|
|||
import { streamLines } from "../../../diff/util";
|
||||
import { DEFAULT_AUTOCOMPLETE_OPTS } from "../../../util/parameters";
|
||||
import { PosthogFeatureFlag, Telemetry } from "../../../util/posthog";
|
||||
import { HelperVars } from "../../util/HelperVars";
|
||||
|
||||
|
|
@ -74,12 +73,10 @@ export class StreamTransformPipeline {
|
|||
fullStop,
|
||||
);
|
||||
|
||||
const timeoutValue =
|
||||
helper.options.showWhateverWeHaveAtXMs ??
|
||||
(await Telemetry.getValueForFeatureFlag(
|
||||
PosthogFeatureFlag.AutocompleteTimeout,
|
||||
)) ??
|
||||
DEFAULT_AUTOCOMPLETE_OPTS.showWhateverWeHaveAtXMs;
|
||||
const timeoutValue = await Telemetry.getValueForFeatureFlag(
|
||||
PosthogFeatureFlag.AutocompleteTimeout,
|
||||
);
|
||||
// helper.options.showWhateverWeHaveAtXMs ?? DEFAULT_AUTOCOMPLETE_OPTS.showWhateverWeHaveAtXMs
|
||||
|
||||
lineGenerator = showWhateverWeHaveAtXMs(lineGenerator, timeoutValue!);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue