We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1fa900 commit 0affba7Copy full SHA for 0affba7
src-tauri/src/constants.rs
@@ -9,7 +9,7 @@ pub const MAX_BANNER_URL_LENGTH: u32 = 160;
9
pub const MAX_LOGO_URL_LENGTH: u32 = 160;
10
11
pub const MAX_PLAYER_COUNT: u16 = 1000;
12
-pub const MAX_RULE_COUNT: u16 = 1000;
+pub const MAX_RULE_COUNT: u16 = 20;
13
14
pub const QUERY_TIMEOUT_SECS: u64 = 2;
15
pub const QUERY_RATE_LIMIT_MS: u64 = 1000;
src-tauri/src/query.rs
@@ -456,7 +456,7 @@ pub async fn query_server(
456
};
457
458
if should_reuse {
459
- let (cached_query, _, _) = cache.take().unwrap();
+ let (cached_query, _) = cache.take().unwrap();
460
cached_query
461
} else {
462
Query::new(ip, port).await?
0 commit comments