fastify / fastify/aws-lambda-fastify
decorateRequest is not thread safe
Abierto
- Lenguaje dominante
- JavaScript
- Estrellas
- 559
- Forks
- 37
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Due to the way the code for `decorateRequest` is written, when multiple requests are executed concurrently the [`currentAwsArguments` cache variable](https://github.com/fastify/aws-lambda-fastify/blob/main/index.js#L22) will clash and overwrite wrong event and context data between the simultaneous requests.
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.