Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ public async Task InitializeAsync() {
IDatabase GetDb() {
// FLUSHDB in test teardown is an admin command; StackExchange.Redis 3.x enforces the
// admin gate for raw commands issued through Execute as well.
var muxer = ConnectionMultiplexer.Connect($"{connString},allowAdmin=true");
// abortConnect=false keeps the multiplexer retrying when the first connection attempt
// races the freshly started container.
var muxer = ConnectionMultiplexer.Connect($"{connString},allowAdmin=true,abortConnect=false");
Comment thread
qodo-free-for-open-source-projects[bot] marked this conversation as resolved.
Outdated

return muxer.GetDatabase();
}
Expand Down
Loading