summaryrefslogtreecommitdiff
path: root/plugins/warp/src/plugin/settings.rs
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2026-03-03 07:57:33 -0800
committerMason Reed <35282038+emesare@users.noreply.github.com>2026-03-24 18:46:48 -0700
commit2c358e705bbde855b12780be86ef19501a62dfed (patch)
tree4f3012bdf36c9a0f7de4218790e6e1aa389621ba /plugins/warp/src/plugin/settings.rs
parent7877f7caa3535a7c477c911ddeafdf5bb14ebc14 (diff)
[WARP] Server-side constraint matching
Reduce networked functions by constraining on the returned set of functions on the server
Diffstat (limited to 'plugins/warp/src/plugin/settings.rs')
-rw-r--r--plugins/warp/src/plugin/settings.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/warp/src/plugin/settings.rs b/plugins/warp/src/plugin/settings.rs
index 6469be0f..896bee7f 100644
--- a/plugins/warp/src/plugin/settings.rs
+++ b/plugins/warp/src/plugin/settings.rs
@@ -40,7 +40,7 @@ pub struct PluginSettings {
impl PluginSettings {
pub const ALLOWED_SOURCE_TAGS_DEFAULT: [&'static str; 2] = ["official", "trusted"];
pub const ALLOWED_SOURCE_TAGS_SETTING: &'static str = "warp.fetcher.allowedSourceTags";
- pub const FETCH_BATCH_SIZE_DEFAULT: usize = 100;
+ pub const FETCH_BATCH_SIZE_DEFAULT: usize = 10000;
pub const FETCH_BATCH_SIZE_SETTING: &'static str = "warp.fetcher.fetchBatchSize";
pub const LOAD_BUNDLED_FILES_DEFAULT: bool = true;
pub const LOAD_BUNDLED_FILES_SETTING: &'static str = "warp.container.loadBundledFiles";
@@ -81,8 +81,8 @@ impl PluginSettings {
let fetch_size_props = json!({
"title" : "Fetch Batch Limit",
"type" : "number",
- "minValue" : 1,
- "maxValue" : 1000,
+ "minValue" : 100,
+ "maxValue" : 20000,
"default" : Self::FETCH_BATCH_SIZE_DEFAULT,
"description" : "The maximum number of functions to fetch in a single batch. This is used to limit the amount of functions to fetch at once, lowering this value will make the fetch process more comprehensive at the cost of more network requests.",
"ignore" : [],