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