Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -556,8 +556,8 @@ public void handleSuccess(int flags) {
((flags & DatagramService.FLAG_REPLY_PENDING) != 0)) {
// Leave the memo in the pending, will wait for reply datagram.
logger.fine("rcvd RequestWithReplyDatagram with flags "+flags);
int timeout = 1 << (flags & 0x0F);
timeout = timeout * 1000; // to milliseconds
int timeout = 1 << (flags & 0x0F) * 1000; // to msec
if ((flags & 0x0F) == 0) timeout = 3000; // no timeout specified, 3 seconds is default
logger.fine(" and timeout "+timeout+", restarting");
restartTimeout(memo, timeout);
return;
Expand Down
Loading