Method AddTsakInProcessLockFallback(IServiceCollection)
Registers as the implementation of
if no other implementation is registered yet.
Logs a single WRN on first acquire so operators can see the fallback is active.
public static IServiceCollection AddTsakInProcessLockFallback(this IServiceCollection services)
Remarks
Call sequence with AddTsakCluster:
Cluster enabled (Tsak:Cluster:Enabled=true): AddTsakCluster registers
RedbDistributedLock as ; calling this
method afterwards is a no-op (TryAdd).Cluster disabled / not configured: this method registers
so DI resolves instead of throwing.