Skip to content

feat: 添加为CommandLock提供强类型锁对象 #189

Description

@witskeeper

提供一个强类型锁对象,用以表示锁定的资源类型,产生如下效果:

  1. 强类型表示锁定的资源类型,方便系统排查定位加锁的位置
  2. 避免期望锁定同一类型资源时,锁定的key不一致导致锁失效的问题

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions