Skip to content

Commit 5aa5b68

Browse files
fix: use soft quota for tenant storage (#837)
1 parent 313d130 commit 5aa5b68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/store/reducers/tenants/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ export const calculateTenantMetrics = (tenant: TTenant = {}) => {
8282
const blobStorageLimit = isNumeric(StorageAllocatedLimit)
8383
? Number(StorageAllocatedLimit)
8484
: undefined;
85-
const tabletStorageLimit = isNumeric(DatabaseQuotas.data_size_hard_quota)
86-
? Number(DatabaseQuotas.data_size_hard_quota)
85+
const tabletStorageLimit = isNumeric(DatabaseQuotas.data_size_soft_quota)
86+
? Number(DatabaseQuotas.data_size_soft_quota)
8787
: undefined;
8888

8989
const poolsStats = calculatePoolsStats(PoolStats);

0 commit comments

Comments
 (0)