Skip to content

Commit f0a2649

Browse files
committed
implement CancellationToken
1 parent 4eed4d6 commit f0a2649

File tree

4 files changed

+534
-10
lines changed

4 files changed

+534
-10
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,9 +327,9 @@ public async Task<IActionResult> Get()
327327

328328
---
329329

330-
### **_NOTE_**
330+
### **_WARNING_**
331331

332-
**_If the cache does not exist, it adds a lock when reading data from the database to prevent cache breakdown. Dapper.Extensions is just a low-level data access library. Preventing malicious attacks is not its responsibility. You can add Bloom filters before this._**
332+
**_If the cache does not exist, it adds a lock when reading data from the database to prevent cache breakdown.If the lock cannot be acquired, a DapperCacheException will be thrown, which needs to be caught in your business code. At this time, you need to consider the issues of Cache Penetration and Cache Breakdown and Cache Avalanche. Dapper.Extensions is just a low-level data access library. Preventing malicious attacks is not its responsibility. You can add Bloom filters before this._**
333333

334334
---
335335

0 commit comments

Comments
 (0)