pull/6763/head
Halil Ozan Akgul 2023-03-06 17:30:40 +03:00
parent 01eb68a7c9
commit 4816817c9b
1 changed files with 1 additions and 1 deletions

View File

@ -302,7 +302,7 @@ AttributeMetricsIfApplicable()
{
LWLockAcquire(&monitor->tenants[tenantIndex - 1].lock, LW_EXCLUSIVE);
ReduceScoreIfNecessary(monitor, monitor->tenants[tenantIndex - 1], queryTime);
ReduceScoreIfNecessary(monitor, &monitor->tenants[tenantIndex - 1], queryTime);
TenantStats tempTenant = monitor->tenants[tenantIndex];
monitor->tenants[tenantIndex] = monitor->tenants[tenantIndex - 1];