fixed the buffer to make it a more reasonable size
This commit is contained in:
parent
eab749a5f3
commit
1f9c392389
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue