*cough* (oops)

This commit is contained in:
jrandom
2004-08-11 08:23:56 +00:00
committed by zzz
parent 0025d94aa4
commit d524c77560
2 changed files with 2 additions and 2 deletions

View File

@@ -50,7 +50,7 @@ public class SendMessageDirectJob extends JobImpl {
_message = message;
_targetHash = toPeer;
_router = null;
if (timeoutMs <= 30) {
if (timeoutMs <= 30*1000) {
_expiration = ctx.clock().now() + 30*1000;
} else {
_expiration = timeoutMs + ctx.clock().now();

View File

@@ -85,7 +85,7 @@ public class SendTunnelMessageJob extends JobImpl {
new Exception("SendTunnel from"));
}
//_log.info("Send tunnel message " + msg.getClass().getName() + " to " + _destRouter + " over " + _tunnelId + " targetting tunnel " + _targetTunnelId, new Exception("SendTunnel from"));
if (timeoutMs < 30) {
if (timeoutMs < 30*1000) {
_expiration = getContext().clock().now() + 30*1000;
} else {
_expiration = getContext().clock().now() + timeoutMs;