[13:24:47 DBG] Waiting to acquire the distributed lock for saving external localizations... [13:24:47 INF] Saving external localizations...
My application often hangs on "Saving external localizations.." line in startup and will not accept any http requests.
I can't find which module outputs these lines to the console/logs.
Have you got any idea what could be causing this?
3 Answer(s)
-
0
Hi, the related logs are written because of the ABP's External Localization System (https://github.com/abpframework/abp/pull/13845) and coming from the Language Management Module.
If it's not important for you, you can disable it by configuring the
AbpExternalLocalizationOptions
in your domain module:Configure<AbpExternalLocalizationOptions>(options => { options.SaveToExternalStore = false; //true by default });
-
0
Thanks for that, seems to have resolved the problem for now.
I assume this was storing the localizations to redis. Disabling this will have some performance impacts elsewhere?
Is there any way to know what's going wrong inside of this module?
-
0
I assume this was storing the localizations to redis. Disabling this will have some performance impacts elsewhere?
Hi, typically this should not impact anything in your application if you are not using distributed systems. This feature is introduced to provide a way to store localization entries in a database (a shared database) and use it in distributed systems in an efficient ways. So, if you are not building a distributed system, you can disable it without worry.
Is there any way to know what's going wrong inside of this module?
I'll review the code to identify the cause of this issue. The code is designed to run asynchronously and shouldn't block your application. I'll investigate why it's not behaving as expected.
Regards.