From fbac26d6f9d7fdf70e58dea6b219e39482541c5a Mon Sep 17 00:00:00 2001 From: Josef Svenningsson Date: Fri, 10 Jan 2025 05:16:14 -0800 Subject: [PATCH] Sync server_config.thrift from configerator Summary: Sync changes from D68014627 Reviewed By: malanka Differential Revision: D68016064 fbshipit-source-id: d7e5e20b27d0b799684afe7411144b57af8e72b1 --- glean/config/server/server_config.thrift | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/glean/config/server/server_config.thrift b/glean/config/server/server_config.thrift index c01449498..845ae983c 100644 --- a/glean/config/server/server_config.thrift +++ b/glean/config/server/server_config.thrift @@ -1,4 +1,4 @@ -// @generated SignedSource<<52eeaa81a166ba2271b80046aee0abdd>> +// @generated SignedSource<<1955697fc6b54170801b47506c97a777>> // DO NOT EDIT THIS FILE MANUALLY! // This file is a mechanical copy of the version in the configerator repo. To // modify it, edit the copy in the configerator repo instead and copy it over by @@ -264,6 +264,11 @@ struct Config { // Timeout for restores, to avoid blocking further restores if one // restore operation gets stuck for some reason. 33: optional Seconds restore_timeout; + + // The max size (in bytes) that a set can have at runtime. + // With the `all` construct, the size of a set can depend of user input. + // Therefor we need a limit to protect the server from OOMing. + 34: optional i64 max_set_size_bytes; } // The following were automatically generated and may benefit from renaming.