Changeset cfc0664 for apps/addressbook


Ignore:
Timestamp:
Sep 19, 2015 7:06:07 PM (5 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
02a0ef3
Parents:
2a3b55f
Message:

Don't try to fetch subscriptions, news, or plugin updates while in VM Comm system

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/addressbook/java/src/net/i2p/addressbook/SubscriptionIterator.java

    r2a3b55f rcfc0664  
    7777        Subscription sub = this.subIterator.next();
    7878        if (sub.getLastFetched() + this.delay < I2PAppContext.getGlobalContext().clock().now() &&
    79             I2PAppContext.getGlobalContext().portMapper().getPort(PortMapper.SVC_HTTP_PROXY) >= 0) {
     79            I2PAppContext.getGlobalContext().portMapper().getPort(PortMapper.SVC_HTTP_PROXY) >= 0 &&
     80            !I2PAppContext.getGlobalContext().getBooleanProperty("i2p.vmCommSystem")) {
    8081            //System.err.println("Fetching addressbook from " + sub.getLocation());
    8182            return new AddressBook(sub, this.proxyHost, this.proxyPort);
Note: See TracChangeset for help on using the changeset viewer.