Ignore:
Timestamp:
2011-03-17T15:04:31+01:00 (14 years ago)
Author:
framm
Message:

use short timeout for initial API connection, related to #6037

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/Main.java

    r3956 r3993  
    216216        // capabilities are already known to the editor instance. However
    217217        // if it goes wrong that's not critical at this stage.
    218         if (Main.pref.getBoolean("get-capabilities-at-start", false)) {
    219             try {
    220                 OsmApi.getOsmApi().initialize(null);
    221             } catch (Exception x) {
    222                 // ignore any exception here.
    223             }
     218        try {
     219            OsmApi.getOsmApi().initialize(null, true);
     220        } catch (Exception x) {
     221            // ignore any exception here.
    224222        }
    225223
Note: See TracChangeset for help on using the changeset viewer.