fixed the buffer to make it a more reasonable size

This commit is contained in:
toddaaro 2013-08-02 16:53:04 -07:00 committed by Daniel Micay
parent eab749a5f3
commit 1f9c392389

View File

@ -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 {