Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Distributed-Locking.md #14714

Merged
merged 1 commit into from
Nov 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/en/Distributed-Locking.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,12 @@ namespace AbpDemo

**Example: Set the distributed lock key prefix for the application**

```csharp
Configure<AbpDistributedLockOptions>(options =>
{
options.KeyPrefix = "MyApp1";
});
```

> Write that code inside the `ConfigureServices` method of your [module class](Module-Development-Basics.md).

Expand Down
2 changes: 2 additions & 0 deletions docs/zh-Hans/Distributed-Locking.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,12 @@ namespace AbpDemo

**示例: 设置应用程序的分布式锁Key前缀**

```csharp
Configure<AbpDistributedLockOptions>(options =>
{
options.KeyPrefix = "MyApp1";
});
```

> 在你的[模块类](Module-Development-Basics.md)中的 `ConfigureServices` 方法进行配置.

Expand Down