Open Closed

Saving external localizations... #8989


User avatar
0
luke created

[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)
  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    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
    });
    
  • User Avatar
    0
    luke created

    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?

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    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.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on April 16, 2025, 12:13