Definition
Assembly: CloudNimble.McpEssentials.Redis.dll Namespace: CloudNimble.McpEssentials.Redis.Tasks Inheritance: CloudNimble.McpEssentials.Core.Tasks.McpTaskStoreOptionsSyntax
Summary
Registration knobs for RedisMcpTaskStore.Constructors
.ctor
Initializes a new instance with Redis defaults: no request-path sweep (McpTaskStoreOptions.AutoSweep isfalse).
Redis expires keys from StoredMcpTask.DiscardAfter.
Syntax
Properties
Database
Gets or sets the Redis database index, or-1 for the multiplexer default.
Syntax
Property Value
Type:int
The default is -1.
KeyPrefix
Gets or sets the key prefix. Task keys are{prefix}:task:{taskId}.
The input channel is {prefix}:task:input.
Syntax
Property Value
Type:string
The default is mcp.
WaitReplicas
Gets or sets how many replicas must acknowledge a write beforeCreateTaskAsync returns. Zero skips WAIT (standalone Redis).
Syntax
Property Value
Type:int
The default is 0.
WaitTimeout
Gets or sets how long to wait for replica acknowledgement.Syntax
Property Value
Type:System.TimeSpan
The default is one second.