fixes after review

This commit is contained in:
zzz
2011-08-22 19:09:09 +00:00
parent 5fd7997661
commit 20c77e1529
7 changed files with 46 additions and 40 deletions

View File

@ -36,8 +36,8 @@ public class LogConsoleBuffer {
lim = Math.max(limit, 4);
// Add some extra room to minimize the chance of losing a message,
// since we are doing offer() below.
_buffer = new LinkedBlockingQueue(limit + 4);
_critBuffer = new LinkedBlockingQueue(limit + 4);
_buffer = new LinkedBlockingQueue(lim + 4);
_critBuffer = new LinkedBlockingQueue(lim + 4);
}
void add(String msg) {