mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-17 00:22:14 +11:00
🐛 JSON input should not be static thread_local
This commit is contained in:
parent
7ce9a71118
commit
e717a0ad2c
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
static thread_local ondemand::parser parser;
|
static thread_local ondemand::parser parser;
|
||||||
#define SIMD_JSON_GEN \
|
#define SIMD_JSON_GEN \
|
||||||
static thread_local simdjson::padded_string input(req->getBody()); \
|
simdjson::padded_string input(req->getBody()); \
|
||||||
auto doc = parser.iterate(input);
|
auto doc = parser.iterate(input);
|
||||||
|
|
||||||
#define RESPONSE_PARSE(R) \
|
#define RESPONSE_PARSE(R) \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue