From 426a2b6e79fc5b09ddbfc804da46c945b820b54b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BD=AD=E4=BC=9F?= Date: Wed, 28 Jul 2021 22:21:15 +0800 Subject: [PATCH 1/3] Update distributed lock --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 8cce2d75..501d298f 100644 --- a/README.md +++ b/README.md @@ -96,6 +96,7 @@ public class Startup config.DBConfig.Endpoints.Add(new ServerEndPoint("127.0.0.1", 6379)); }, "redis1") .WithMessagePack()//with messagepack serialization + .UseRedisLock()//with distributed lock ; }); } From ff2670201e0b60004d9253cb54a1dce014146458 Mon Sep 17 00:00:00 2001 From: Jude Vajira Guanasekera Date: Sun, 12 Jun 2022 10:44:59 +0530 Subject: [PATCH 2/3] Updated hybrid provider documentation Added a missing package and refactored to the creation of ServerEndPoint object to be consistent within the document by removing the namespace from the beginning. --- docs/Hybrid.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/Hybrid.md b/docs/Hybrid.md index 3552a2eb..fc1196fb 100644 --- a/docs/Hybrid.md +++ b/docs/Hybrid.md @@ -19,6 +19,7 @@ Install-Package EasyCaching.HybridCache Install-Package EasyCaching.InMemory Install-Package EasyCaching.Redis Install-Package EasyCaching.Bus.Redis +Install-Package EasyCaching.Serialization.Json ``` ## 2. Config in Startup class @@ -41,7 +42,7 @@ public class Startup // distributed option.UseRedis(config => { - config.DBConfig.Endpoints.Add(new Core.Configurations.ServerEndPoint("127.0.0.1", 6379)); + config.DBConfig.Endpoints.Add(new ServerEndPoint("127.0.0.1", 6379)); config.DBConfig.Database = 5; config.SerializerName = "myjson"; }, "myredis"); From 627c1a982f400d9598c750fbd0fa3dcde43f37ca Mon Sep 17 00:00:00 2001 From: wech71 Date: Thu, 16 Nov 2023 16:36:37 +0100 Subject: [PATCH 3/3] Update mkdocs.yml. Fixed typo Hybird => Hybrid --- mkdocs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkdocs.yml b/mkdocs.yml index ca4bb888..8caa77eb 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -11,7 +11,7 @@ pages: - CSRedis: CSRedis.md - Memcached : Memcached.md - SQLite : SQLite.md - - Hybird : Hybrid.md + - Hybrid : Hybrid.md - Disk : Disk.md - LiteDB : LiteDB.md - FasterKv: FasterKv.md