Changeset 6c87005


Ignore:
Timestamp:
Jul 19, 2009 10:32:01 PM (11 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
b3c30b4
Parents:
8d2a5160
Message:
  • graphs.jsp: Reduce refresh time to eliminate double iframe load
File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/java/src/net/i2p/router/web/GraphHelper.java

    r8d2a5160 r6c87005  
    9696            }
    9797            if (_refreshDelaySeconds > 0)
    98                 _out.write("<meta http-equiv=\"refresh\" content=\"" + _refreshDelaySeconds + "\" />\n");
     98                // shorten the refresh by 3 seconds so we beat the iframe
     99                _out.write("<meta http-equiv=\"refresh\" content=\"" + (_refreshDelaySeconds - 3) + "\" />\n");
    99100
    100101        } catch (IOException ioe) {
Note: See TracChangeset for help on using the changeset viewer.