It seems that Options class can be accessed from several threads, but currently it uses HashMap and non-synchronized methods. This may lead to concurrency issues.
You shouldn't be changing the static config a lot anyway. Recommendation is once per JVM startup. synchronized methods have their own issues and can cause locks. Unirest 2 supports multiple configs
It seems that Options class can be accessed from several threads, but currently it uses HashMap and non-synchronized methods. This may lead to concurrency issues.