fix syntax
This commit is contained in:
@@ -141,7 +141,7 @@ namespace MareSynchronosServices
|
|||||||
_logger.LogInformation("User purged: {uid}", user.UID);
|
_logger.LogInformation("User purged: {uid}", user.UID);
|
||||||
|
|
||||||
metrics.DecGauge(MetricsAPI.GaugePairs, ownPairData.Count + otherPairData.Count);
|
metrics.DecGauge(MetricsAPI.GaugePairs, ownPairData.Count + otherPairData.Count);
|
||||||
metrics.DecGauge(MetricsAPI.GaugePairsPaused, ownPairData.Count(c => c.IsPaused) + otherPairData.Count(c => c.IsPaused);
|
metrics.DecGauge(MetricsAPI.GaugePairsPaused, ownPairData.Count(c => c.IsPaused) + otherPairData.Count(c => c.IsPaused));
|
||||||
metrics.DecGauge(MetricsAPI.GaugeUsersRegistered, 1);
|
metrics.DecGauge(MetricsAPI.GaugeUsersRegistered, 1);
|
||||||
|
|
||||||
dbContext.RemoveRange(otherPairData);
|
dbContext.RemoveRange(otherPairData);
|
||||||
|
|||||||
Reference in New Issue
Block a user