check shouldBundle only when its ready to be checked (duh)

This commit is contained in:
jrandom
2004-05-06 01:02:50 +00:00
committed by zzz
parent e5a2a9644f
commit 9a06a5758d

View File

@ -129,12 +129,11 @@ public class OutboundClientMessageJob extends JobImpl {
} }
} }
_shouldBundle = getShouldBundle();
_overallExpiration = timeoutMs + _context.clock().now(); _overallExpiration = timeoutMs + _context.clock().now();
_status = new OutboundClientMessageStatus(msg); _status = new OutboundClientMessageStatus(msg);
_nextStep = new NextStepJob(); _nextStep = new NextStepJob();
_lookupLeaseSetFailed = new LookupLeaseSetFailedJob(); _lookupLeaseSetFailed = new LookupLeaseSetFailedJob();
_shouldBundle = getShouldBundle();
} }
public String getName() { return "Outbound client message"; } public String getName() { return "Outbound client message"; }