使用分布式锁解决并发问题
This commit is contained in:
1 parent
b9a6d002ca
commit
aeefff6c0b
11 files changed
+111
-22
No files matched your search
@@ -0,0 +1,15 @@
|
||||
apiVersion: dapr.io/v1alpha1
|
||||
kind: Component
|
||||
metadata:
|
||||
name: lockstore
|
||||
spec:
|
||||
type: lock.redis
|
||||
version: v1
|
||||
metadata:
|
||||
- name: redisHost
|
||||
secretKeyRef:
|
||||
name: ConnectionStrings__cache
|
||||
- name: redisPassword
|
||||
value: ""
|
||||
auth:
|
||||
secretStore: env-secretstore
|
||||
Reference in new issue
Block a user