mirror of
https://github.com/bitwarden/server.git
synced 2025-02-09 00:41:37 +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>(
|
var results = await connection.QueryAsync<Organization>(
|
||||||
"[dbo].[Organization_Search]",
|
"[dbo].[Organization_Search]",
|
||||||
new { Name = name, UserEmail = userEmail, Paid = paid, Skip = skip, Take = take },
|
new { Name = name, UserEmail = userEmail, Paid = paid, Skip = skip, Take = take },
|
||||||
commandType: CommandType.StoredProcedure);
|
commandType: CommandType.StoredProcedure,
|
||||||
|
commandTimeout: 120);
|
||||||
|
|
||||||
return results.ToList();
|
return results.ToList();
|
||||||
}
|
}
|
||||||
|
@ -58,7 +58,8 @@ namespace Bit.Core.Repositories.SqlServer
|
|||||||
var results = await connection.QueryAsync<User>(
|
var results = await connection.QueryAsync<User>(
|
||||||
$"[{Schema}].[{Table}_Search]",
|
$"[{Schema}].[{Table}_Search]",
|
||||||
new { Email = email, Skip = skip, Take = take },
|
new { Email = email, Skip = skip, Take = take },
|
||||||
commandType: CommandType.StoredProcedure);
|
commandType: CommandType.StoredProcedure,
|
||||||
|
commandTimeout: 120);
|
||||||
|
|
||||||
return results.ToList();
|
return results.ToList();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user