mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-10 20:13:24 -08:00
Apply suggestion from @ZeldaZach
Co-authored-by: Zach H <zahalpern+github@gmail.com>
This commit is contained in:
parent
e74110c429
commit
7e168beb6f
1 changed files with 1 additions and 2 deletions
|
|
@ -1982,8 +1982,7 @@ namespace
|
|||
{
|
||||
constexpr int MAX_USER_ALT_DEPTH = 3;
|
||||
constexpr int MAX_USER_ALTS_PER_LEVEL = 200;
|
||||
// Bounds per-level work and the prepared-statement cache (keyed by query text,
|
||||
// so every distinct IN-list size is a new entry on the long-lived server).
|
||||
// Bounds per-level work and the size of each dynamic IN-list.
|
||||
// Identifier-heavy frontiers, e.g. VPN users with hundreds of recent IPs, are
|
||||
// truncated: this tool is deliberately a first-pass sweep, not an audit.
|
||||
constexpr int MAX_USER_ALT_IDENTIFIERS = 200;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue