Skip to content

Commit 1136250

Browse files
committed
Increased SQL TAG to 2048
1 parent 42b2a10 commit 1136250

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

my-postgres-core/src/connection/postgres_connect_inner.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -459,8 +459,8 @@ fn get_sql_telemetry_tags(sql: Option<&str>) -> Option<Vec<my_telemetry::Telemet
459459
if let Some(sql) = sql {
460460
Some(vec![my_telemetry::TelemetryEventTag {
461461
key: "SQL".to_string(),
462-
value: if sql.len() > 255 {
463-
sql[..255].to_string()
462+
value: if sql.len() > 2048 {
463+
sql[..2048].to_string()
464464
} else {
465465
sql.to_string()
466466
},

0 commit comments

Comments
 (0)