mirror of
https://github.com/bitwarden/server.git
synced 2025-02-02 23:41:21 +01:00
increase admin search timeouts
This commit is contained in:
parent
cce4969094
commit
65e240c177
@ -53,7 +53,8 @@ namespace Bit.Core.Repositories.SqlServer
|
||||
var results = await connection.QueryAsync<Organization>(
|
||||
"[dbo].[Organization_Search]",
|
||||
new { Name = name, UserEmail = userEmail, Paid = paid, Skip = skip, Take = take },
|
||||
commandType: CommandType.StoredProcedure);
|
||||
commandType: CommandType.StoredProcedure,
|
||||
commandTimeout: 120);
|
||||
|
||||
return results.ToList();
|
||||
}
|
||||
|
@ -58,7 +58,8 @@ namespace Bit.Core.Repositories.SqlServer
|
||||
var results = await connection.QueryAsync<User>(
|
||||
$"[{Schema}].[{Table}_Search]",
|
||||
new { Email = email, Skip = skip, Take = take },
|
||||
commandType: CommandType.StoredProcedure);
|
||||
commandType: CommandType.StoredProcedure,
|
||||
commandTimeout: 120);
|
||||
|
||||
return results.ToList();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user