I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit d524c775 authored by jrandom's avatar jrandom Committed by zzz
Browse files

*cough* (oops)

parent 0025d94a
No related branches found
No related tags found
No related merge requests found
...@@ -50,7 +50,7 @@ public class SendMessageDirectJob extends JobImpl { ...@@ -50,7 +50,7 @@ public class SendMessageDirectJob extends JobImpl {
_message = message; _message = message;
_targetHash = toPeer; _targetHash = toPeer;
_router = null; _router = null;
if (timeoutMs <= 30) { if (timeoutMs <= 30*1000) {
_expiration = ctx.clock().now() + 30*1000; _expiration = ctx.clock().now() + 30*1000;
} else { } else {
_expiration = timeoutMs + ctx.clock().now(); _expiration = timeoutMs + ctx.clock().now();
......
...@@ -85,7 +85,7 @@ public class SendTunnelMessageJob extends JobImpl { ...@@ -85,7 +85,7 @@ public class SendTunnelMessageJob extends JobImpl {
new Exception("SendTunnel from")); new Exception("SendTunnel from"));
} }
//_log.info("Send tunnel message " + msg.getClass().getName() + " to " + _destRouter + " over " + _tunnelId + " targetting tunnel " + _targetTunnelId, 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; _expiration = getContext().clock().now() + 30*1000;
} else { } else {
_expiration = getContext().clock().now() + timeoutMs; _expiration = getContext().clock().now() + timeoutMs;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment