DistributedLock icon indicating copy to clipboard operation
DistributedLock copied to clipboard

Add support for connection multiplexing with DbDataSource

Open madelson opened this issue 11 months ago • 0 comments

Today, we can't support multiplexing for DbDataSource (only supported in Postgres) because the lock pool is keyed on connection string and also uses connection string as its factory input.

We could extend this to support DbDataSource as a key (reference equality) and then also provide DbDataSource constructors to any other providers that don't have them yet.

madelson avatar Jan 26 '25 21:01 madelson