更新 Speed/updateBuild.ts
This commit is contained in:
parent
0bd1398085
commit
8aab3ff282
@ -9,6 +9,7 @@ interface UpdateServerBuildParameters {
|
|||||||
snapshotLimit: number | null
|
snapshotLimit: number | null
|
||||||
backupLimit: number | null
|
backupLimit: number | null
|
||||||
bandwidthLimit: number | null
|
bandwidthLimit: number | null
|
||||||
|
rateLimit: number | null
|
||||||
bandwidthUsage: number
|
bandwidthUsage: number
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -19,6 +20,7 @@ const updateBuild = async (
|
|||||||
snapshotLimit,
|
snapshotLimit,
|
||||||
backupLimit,
|
backupLimit,
|
||||||
bandwidthLimit,
|
bandwidthLimit,
|
||||||
|
rateLimit,
|
||||||
bandwidthUsage,
|
bandwidthUsage,
|
||||||
...params
|
...params
|
||||||
}: UpdateServerBuildParameters
|
}: UpdateServerBuildParameters
|
||||||
@ -30,6 +32,7 @@ const updateBuild = async (
|
|||||||
snapshot_limit: snapshotLimit,
|
snapshot_limit: snapshotLimit,
|
||||||
backup_limit: backupLimit,
|
backup_limit: backupLimit,
|
||||||
bandwidth_limit: bandwidthLimit,
|
bandwidth_limit: bandwidthLimit,
|
||||||
|
rate_limit: rateLimit,
|
||||||
bandwidth_usage: bandwidthUsage,
|
bandwidth_usage: bandwidthUsage,
|
||||||
...params,
|
...params,
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user