On debugging, it is found that /v1/register-yourself triggers two instances of register-application. Due to parallel execution of register-application, two instances gets created at same time.
Solution:
In order to avoid this, a lock has been included to the function that creates the application ltps in config file.
On debugging, it is found that /v1/register-yourself triggers two instances of register-application. Due to parallel execution of register-application, two instances gets created at same time.
Solution: In order to avoid this, a lock has been included to the function that creates the application ltps in config file.