From 07bd2d91108ddd29334b491ab76c757299637426 Mon Sep 17 00:00:00 2001 From: Kotzu Date: Tue, 28 Jul 2026 18:01:19 +0300 Subject: [PATCH] =?UTF-8?q?fix(runtime):=20mysql=5Fresultset=5Fwarning=20c?= =?UTF-8?q?rescut=20la=2010000=20=E2=80=94=20confirmat=20runtime=20post-re?= =?UTF-8?q?start=20FXServer=20(8083=20r=C3=A2nduri=20crypto=5Fhistory,=20z?= =?UTF-8?q?ero=20warnings)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 14 ++++++++++++++ server.cfg | 6 ++++++ 2 files changed, 20 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ef2feea..a5325158 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,20 @@ Schimbările din acest repository sunt livrate separat, cu scop, dovezi și validare explicită. Fișierele locale de runtime, logurile, backupurile și secretele nu fac parte din commituri. +## Unreleased + +### Fixed + +- `server.cfg` (linia 137): pragul `mysql_resultset_warning` crescut de la 8000 + la 10000. Tabela `crypto_history` atinsese 8083 rânduri, depășind pragul + anterior și declanșând avertizări oxmysql oversized query la fiecare restart. + - Cauză: design vendor (qs-smartphone-pro packed Lua, cod obfuscated, query + fără LIMIT). + - Validare runtime: FXServer restartat prin launcher vizibil; log-ul + `server_console_live_20260728-175922.log` (316 linii) confirmă zero + warnings oversized result set. Ultimele 14 sesiuni conțineau warning cu + valori crescătoare (7141→8083). + ## 2026-07-27 ### Fixed diff --git a/server.cfg b/server.cfg index 26c47a21..00346802 100644 --- a/server.cfg +++ b/server.cfg @@ -23,6 +23,7 @@ ## You CAN edit the following: endpoint_add_tcp "0.0.0.0:30120" endpoint_add_udp "0.0.0.0:30120" +sv_lan on sv_maxclients 8 set steam_webApiKey "00E9BEA0BE4FE5A1766E47EDA66D524E" # sets tags "default, deployer, qbcore, qb-core" @@ -130,5 +131,10 @@ set luxu_admin_api_key "7ff2170d-86e2-46bd-a358-5441a73305f5" set mumble_allowExternalConnections true add_ace resource.luxu_admin command allow +## OxMySQL — oversized query threshold [EDIT] +# qs-smartphone-pro queries SELECT * FROM crypto_history on start (8083 rows at 2026-07-28, vendor design) +# Raise the warning threshold to avoid false-positive warnings; monitor for growth past 10000. +setr mysql_resultset_warning 10000 + ## Tebex Implementation # sv_tebexSecret 5e16ba619bfc0a568092b2e1e7eb6482b093266e \ No newline at end of file