【发布时间】:2019-03-21 01:32:51
【问题描述】:
我在生产和测试环境中偶尔收到以下消息
StackExchange.Redis.RedisTimeoutException:执行 EVAL 超时, inst:12,队列:5,qu:0,qs:5,qc:0,wr:0,wq:0,in:38,ar:0, clientName: , serverEndpoint: 未指定/redis:6379, keyHashSlot: 9800(一些常见的客户端请看这篇文章 可能导致超时的问题: http://stackexchange.github.io/StackExchange.Redis/Timeouts) 在 StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](消息 消息,ResultProcessor`1 处理器,ServerEndPoint 服务器)在 c:\code\StackExchange.Redis\StackExchange.Redis\StackExchange\Redis\ConnectionMultiplexer.cs:line 2120
上面写着要检查StackExchange.Redis
我发现我应该将<processModel autoConfig="false" minIoThreads="250" /> 添加到 machine.config 但我没有 machine.config 我有一个 web.config。
我四处搜索,发现有关 processModel 的所有内容都与 .net 经典而不是 .net 核心有关。
如何在 .net core 中设置 processModel?
【问题讨论】:
标签: c# asp.net-core redis asp.net-core-mvc