StackExchange / StackExchange.Redis

General purpose redis client
https://stackexchange.github.io/StackExchange.Redis/
Other
5.84k stars 1.5k forks source link

mixing synchronous code with asynchronous code with ScriptEvaluate #2711

Closed LimingZhangBj closed 1 month ago

LimingZhangBj commented 2 months ago

Our web service using ScriptEvaluate to execute lua script in Redis. Azure Appservice detected that threads are mixing synchronous code with asynchronous code, here is the call stack image , we checked our code, we didn't call GetResultCore directly from our code, we think it's called by the api ScriptEvaluate from StackExchange.Redis lib, but the lib code not show up in the call stack. Do you have any idea on this?