diff --git a/src/main/java/de/komoot/photon/nominatim/ImportThread.java b/src/main/java/de/komoot/photon/nominatim/ImportThread.java index 86e941e5..5ad2c8e6 100644 --- a/src/main/java/de/komoot/photon/nominatim/ImportThread.java +++ b/src/main/java/de/komoot/photon/nominatim/ImportThread.java @@ -16,7 +16,7 @@ class ImportThread { private static final int PROGRESS_INTERVAL = 50000; private static final NominatimResult FINAL_DOCUMENT = new NominatimResult(new PhotonDoc(0, null, 0, null, null)); - private final BlockingQueue documents = new LinkedBlockingDeque<>(20); + private final BlockingQueue documents = new LinkedBlockingDeque<>(10000); private final AtomicLong counter = new AtomicLong(); private final Importer importer; private final Thread thread;