Skip to content

Commit 564fabc

Browse files
committed
Fix: disable debug.
1 parent 4f08f6b commit 564fabc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/src/CodeChatEditor.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ declare global {
133133
// -------
134134
//
135135
// True to enable additional debug logging.
136-
export const DEBUG_ENABLED = true;
136+
export const DEBUG_ENABLED = false;
137137

138138
// The ID of the autosave timer; when this timer expires, the document will be
139139
// autosaved.

server/src/translation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ use crate::{
238238
// -------
239239
//
240240
// The max length of a message to show in the console.
241-
const MAX_MESSAGE_LENGTH: usize = 30000;
241+
const MAX_MESSAGE_LENGTH: usize = 300;
242242

243243
lazy_static! {
244244
/// A regex to determine the type of the first EOL. See 'PROCESSINGS1.

0 commit comments

Comments
 (0)