amplitude / amplitude/experiment-js-client

Clarification for `pollOnStart` parameter

Abierto
#111 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
TypeScript
Estrellas
18
Forks
11
Merge medio
3 d 18 h
PR fusionados (30 d)
4

Descripción

Hi all,
We have recently started with the Experiment SDK. I was expecting `pollOnStart: true` to instantiate a poll mechanism that would fetch the user flags and variants on a regular basis. Inspecting the network requests and the source code, however, we found that the flag definitions are fetched every 60 seconds, but the _values_ for the current users are not re-evaluated automatically as part of this process.

I wonder, what is the purpose of fetching the flags so often without re-evaluating the flag values? I expect the value to change more often, as this depends on user properties/events that might affect the target audience of a variant.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.