Fix max and baseline disk througput

This commit is contained in:
Long Hoang committed 2023-06-01 14:40:40 +08:00
1 parent 51074b4de7
commit e39fbcb1b6
3 files changed
+7 -7

No files matched your search

@@ -33,7 +33,7 @@ export const formatComputeSizes = (addons: SubscriptionAddon[]) => {
metadata: {
default_price_id: undefined,
supabase_prod_id: 'addon_instance_micro',
features: '2-core ARM (shared) • 1GB memory • 2,606Mbps Disk IO',
features: '2-core ARM (shared) • 1GB memory • 2,085Mbps Disk Throughput',
},
prices: [
{
@@ -221,7 +221,7 @@ const AddOns = ({}: AddOnsProps) => {
<a>
<div className="group flex items-center space-x-2">
<p className="text-sm text-scale-1100 group-hover:text-scale-1200 transition cursor-pointer">
Disk IO Bandwidth max burst
Max Disk Throughput
</p>
<IconChevronRight
strokeWidth={1.5}
@@ -232,7 +232,7 @@ const AddOns = ({}: AddOnsProps) => {
</a>
</Link>
<p className="text-sm">
{computeInstanceSpecs?.max_disk_io_mbs?.toLocaleString() ?? '2,606'} Mbps
{computeInstanceSpecs?.max_disk_io_mbs?.toLocaleString() ?? '2,085'} Mbps
</p>
</div>
<div className="w-full flex items-center justify-between py-2">
@@ -240,7 +240,7 @@ const AddOns = ({}: AddOnsProps) => {
<a>
<div className="group flex items-center space-x-2">
<p className="text-sm text-scale-1100 group-hover:text-scale-1200 transition cursor-pointer">
Baseline Disk IO Bandwidth
Baseline Disk Throughput
</p>
<IconChevronRight
strokeWidth={1.5}
@@ -226,15 +226,15 @@ export const COMPUTE_INSTANCE_SPECS: {
[key: string]: { maxBandwidth: number; baseBandwidth: number }
} = {
addon_instance_micro: {
maxBandwidth: 2606,
maxBandwidth: 2085,
baseBandwidth: 87,
},
addon_instance_small: {
maxBandwidth: 2606,
maxBandwidth: 2085,
baseBandwidth: 174,
},
addon_instance_medium: {
maxBandwidth: 2606,
maxBandwidth: 2085,
baseBandwidth: 347,
},
addon_instance_large: {