mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-22 19:27:13 +10:00
[강운덕] [LUCYSUS-1744] 비동기 메시지일때도 event를 모아서 io에 flush하도록 수정.
git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-tomcat-profiler/trunk@1053 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
@@ -146,15 +146,10 @@ public class Span implements Thriftable {
|
||||
|
||||
List<SubSpan> subSpanList = this.getSubSpanList();
|
||||
if (subSpanList != null && subSpanList.size() != 0) {
|
||||
SubSpan first = null;
|
||||
|
||||
List<com.profiler.common.dto.thrift.SubSpan> tSubSpanList = new ArrayList<com.profiler.common.dto.thrift.SubSpan>(subSpanList.size());
|
||||
for (SubSpan subSpan : subSpanList) {
|
||||
com.profiler.common.dto.thrift.SubSpan tSubSpan = subSpan.toThrift(true);
|
||||
if (first == null) {
|
||||
// 첫번째 subSpan에는 sequence를 마크한다.
|
||||
tSubSpan.setSequence(subSpan.getSequence());
|
||||
first = subSpan;
|
||||
}
|
||||
tSubSpanList.add(tSubSpan);
|
||||
}
|
||||
span.setSubSpanList(tSubSpanList);
|
||||
|
||||
Reference in New Issue
Block a user