Commit d33b0ac2 authored by j.hoerdt's avatar j.hoerdt
Browse files

drastically increase timeout and increase concurrency again

parent aaa844b8
......@@ -21,7 +21,7 @@ class DayUploader {
public static void upload_from_csv_uris(Stream<String> csv_file_uris) throws Exception {
ForkJoinTask<?> task = thread_pool.submit(make_uploading_task(csv_file_uris.parallel().unordered()));
task.get(30, TimeUnit.MINUTES);
task.get(7, TimeUnit.HOURS);
}
private static Runnable make_uploading_task(Stream<String> csv_file_uris) {
......
......@@ -221,7 +221,7 @@ public class Main {
defaults.setProperty("database_name", "sensor" );
defaults.setProperty("csv_directory", "data/csv_files/" );
defaults.setProperty("geocoding_cache", "data/geocoding_cache/" );
defaults.setProperty("concurrency", "1" );
defaults.setProperty("concurrency", "10" );
defaults.setProperty("http_agent", "Please/0.5" );
defaults.setProperty("neo4j_uri", "bolt://graphdb.gwdg.de:7687" );
defaults.setProperty("neo4j_server_certificate_file", "graphdb.gwdg.de.pem" );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment