Changeset 80654b2


Ignore:
Timestamp:
Mar 17, 2010 5:00:35 PM (10 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
f3b78fc
Parents:
8745ffd
Message:

Discard at IBGW based on router clock not system clock

File:
1 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/tunnel/TunnelDispatcher.java

    r8745ffd r80654b2  
    387387     */
    388388    public void dispatch(TunnelGatewayMessage msg) {
    389         long before = System.currentTimeMillis();
     389        long before = _context.clock().now();
    390390        TunnelGateway gw = _inboundGateways.get(msg.getTunnelId());
    391391        if (gw != null) {
     
    424424        }
    425425       
    426         long dispatchTime = System.currentTimeMillis() - before;
     426        long dispatchTime = _context.clock().now() - before;
    427427       
    428428        if (_log.shouldLog(Log.DEBUG))
Note: See TracChangeset for help on using the changeset viewer.