gbif / checklistbank

GBIF Checklist Bank
Apache License 2.0
31 stars 14 forks source link

Share name parser instance #228

Closed mdoering closed 2 years ago

mdoering commented 2 years ago

The NameParserGBIF is created in various places in the code, although it is thread safe and uses up considerable resources as it contains a ThreadPoolExecutor.

Refactor the code to share a single name parser instance which can be configured via spring and which should have a default of 2000 for checklistbank.parser.timeout.

mdoering commented 2 years ago

Currently instances are created in: