fixed the buffer to make it a more reasonable size
This commit is contained in:
@@ -89,7 +89,7 @@ fn newsched_log_str(msg: ~str) {
|
|||||||
use container::Container;
|
use container::Container;
|
||||||
|
|
||||||
// Truncate the string
|
// Truncate the string
|
||||||
let buf_bytes = 2048;
|
let buf_bytes = 256;
|
||||||
let msg = if msg.len() > buf_bytes {
|
let msg = if msg.len() > buf_bytes {
|
||||||
msg.slice(0, buf_bytes) + "[...]"
|
msg.slice(0, buf_bytes) + "[...]"
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user