Browse Source

Provide a sensible dumpDirectory for the local-reverse-geocoder module (#759)

Fixes #758
Johannes Zellner 2 years ago
parent
commit
848781aef5

+ 1 - 0
server/apps/microservices/src/processors/metadata-extraction.processor.ts

@@ -109,6 +109,7 @@ export class MetadataExtractionProcessor {
           alternateNames: false,
         },
         countries: [],
+        dumpDirectory: configService.get('REVERSE_GEOCODING_DUMP_DIRECTORY') || (process.cwd() + '/.reverse-geocoding-dump/'),
       }).then(() => {
         this.isGeocodeInitialized = true;
         Logger.log('Reverse Geocoding Initialised');