branch icon

nuget.abp.io: performance improvements #10465

Resolves #9491


Aim

We are constantly getting the following error.

Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.

Here is the current count of this error in the last 7 days:

Screen Shot 2022-05-25 at 15 42 32

The aim is to finish this error without increasing the number of pools.

Note: If in the future we have a package that does not start with volo prefix we can add it to the appsettings.json. For instance:

  "AllowAdditionalPackageNames": [
    "Test1",
    "Test2"
  ]

Also, I changed the function and name of GetByApiKeyAsync method to FindByApiKeyAsync. Because when an organization was deleted, we used to get the following error:

sequence contains no elements.

And this error is detected as something wrong in the code, but now when an organization is deleted, the following error is thrown:

throw new ApplicationException("Wrong api key!");

Version
6.0.0
Release Date
05 lokakuuta, 2022
Labels
abp-io problem