ServiceStack.Redis 4.5.6收费版去除6000次数限制

在微信域名检测项目中,使用使用一个ReaderWriterLock来实现一个同步的Cache, 以便控制对该Cache的读写.但是效果很不好,后来采用利用ServiceStack.Redis来操作Redis,它是Redis官方推荐的C#客户端,性能非常优越,使用也很方便,但是运行中发现有如下的问题:每小时只能访问Redis 6000次The free-quota ...
摘要由CSDN通过智能技术生成

      在微信域名检测项目中,使用使用一个ReaderWriterLock来实现一个同步的Cache, 以便控制对该Cache的读写.但是效果很不好,后来采用利用ServiceStack.Redis来操作Redis,它是Redis官方推荐的C#客户端,性能非常优越,使用也很方便,但是运行中发现有如下的问题: 

每小时只能访问Redis 6000次 

The free-quota limit on ‘6000 Redis requests per hour‘ has been reached. Please see https://servicestack.net to upgrade to a commercial license. 

    用工具查看发现两处限制

// ServiceStack.Text, Version=4.5.6.0, Culture=neutral, PublicKeyToken=null
// Global type: <Module>
// Architecture: AnyCPU (64-bit preferred)
// Runtime: .NET 4.0

public static class LicenseUtils
	{
		//...
		public static class FreeQuotas
		{
			public const int ServiceStackOperations = 10;
			public const int TypeFields = 20;
			public const int RedisTypes = 20;
			public const int R
  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值