Changeset a4265a2


Ignore:
Timestamp:
Apr 20, 2016 3:23:12 PM (5 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
9ca8a77
Parents:
b57b432
Message:

BlockfileNamingService?: Don't upgrade Android/ARM to version 4 for now,
too slow

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/client/naming/BlockfileNamingService.java

    rb57b432 ra4265a2  
    3636import net.i2p.util.Log;
    3737import net.i2p.util.SecureFileOutputStream;
     38import net.i2p.util.SystemVersion;
    3839import net.i2p.util.VersionComparator;
    3940
     
    408409            // support multiple destinations per hostname
    409410            if (VersionComparator.comp(_version, "4") < 0) {
     411                // Upgrade of 4K entry DB on RPi 2 is over 2 1/2 minutes, disable for now
     412                if (SystemVersion.isAndroid() || SystemVersion.isARM()) {
     413                    if (_log.shouldWarn())
     414                        _log.warn("Deferring upgrade to version 4 on Android/ARM");
     415                    return true;
     416                }
    410417                SkipList<String, Properties> hdr = _bf.getIndex(INFO_SKIPLIST, _stringSerializer, _infoSerializer);
    411418                if (hdr == null)
Note: See TracChangeset for help on using the changeset viewer.