Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
fatbobman committed Feb 15, 2022
1 parent 0dc40cd commit 0aa0dfe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ Persistent History Tracking Kit currently supports three transaction cleanup str
// Each notification is cleaned up
cleanStrategy: .byNotification(times: 1),
// At least 60 seconds between cleanings
cleanStrategy: byDuration(seconds: 60),
cleanStrategy: .byDuration(seconds: 60),
```

When the cleanup policy is set to none, cleanup can be performed at the right time by generating separate cleanup instances.
Expand Down
2 changes: 1 addition & 1 deletion READMECN.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ Persistent History Tracking Kit 目前支持三种事务清理策略:
// 每个通知都清理
cleanStrategy: .byNotification(times: 1),
// 两次清理之间,至少间隔 60 秒
cleanStrategy: byDuration(seconds: 60),
cleanStrategy: .byDuration(seconds: 60),
```

当清理策略设置为 none 时,可以通过生成单独的清理实例,在合适的时机进行清理。
Expand Down

0 comments on commit 0aa0dfe

Please sign in to comment.