Energinet-DataHub / ARCHIVED-geh-aggregations

This project aims to create an engine that is able to do calculations on billions of metering points and deliver the results within minutes
Apache License 2.0
2 stars 0 forks source link

bugfix: Multiple threads accessing DbContext #779

Closed lasrinnil closed 2 years ago

lasrinnil commented 2 years ago

Description

With the current registration, it is possible to access the DbContext from multiple threads - registering mutators as scoped will fix this.

codecov[bot] commented 2 years ago

Codecov Report

Merging #779 (df3c669) into main (e5e9a28) will increase coverage by 0.03%. The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #779      +/-   ##
==========================================
+ Coverage   25.53%   25.56%   +0.03%     
==========================================
  Files         125      125              
  Lines        1676     1674       -2     
  Branches      169      169              
==========================================
  Hits          428      428              
+ Misses       1232     1230       -2     
  Partials       16       16              
Impacted Files Coverage Δ
...b.Aggregations.IntegrationEventListener/Program.cs 0.00% <0.00%> (ø)

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information