Skip to content

Commit fd453c0

Browse files
committed
тест
1 parent e3430bd commit fd453c0

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Content.Server/Database/ServerDbManager.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1157,7 +1157,11 @@ private IAsyncEnumerable<T> RunDbCommand<T>(Func<IAsyncEnumerable<T>> command)
11571157

11581158
_sawmill.Debug($"Using Postgres \"{host}:{port}/{db}\"");
11591159

1160-
builder.UseNpgsql(connectionString);
1160+
builder.UseNpgsql(connectionString, npgsqlOptions =>
1161+
{
1162+
npgsqlOptions.CommandTimeout(300);
1163+
});
1164+
11611165
SetupLogging(builder);
11621166
return (builder.Options, connectionString);
11631167
}

0 commit comments

Comments
 (0)