mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-16 16:12:14 +11:00
🐛 static thread_local document breaks parsing overtime
This commit is contained in:
parent
6da7cd087c
commit
d544a10bf1
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@
|
|||
static thread_local ondemand::parser parser;
|
||||
#define SIMD_JSON_GEN \
|
||||
static thread_local simdjson::padded_string input(req->getBody()); \
|
||||
static thread_local auto doc = parser.iterate(input)
|
||||
auto doc = parser.iterate(input);
|
||||
|
||||
#define RESPONSE_PARSE(R) \
|
||||
static thread_local auto resp = HttpResponse::newCustomHttpResponse(R); \
|
||||
|
|
|
|||
Loading…
Reference in a new issue