refactor(MikrotikConfigRoutes): update speed test configuration to include 'proplist' for TCP metrics and remove deprecated 'protocol' parameter
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 1m44s
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 1m44s
This commit is contained in:
@@ -986,8 +986,8 @@ async function speedTestViaTunnel(req, res) {
|
|||||||
address,
|
address,
|
||||||
user: remoteCreds.user,
|
user: remoteCreds.user,
|
||||||
password: remoteCreds.password || '',
|
password: remoteCreds.password || '',
|
||||||
protocol: 'tcp',
|
|
||||||
'test-duration': `${durationSeconds}s`,
|
'test-duration': `${durationSeconds}s`,
|
||||||
|
proplist: 'tcp-download,tcp-upload',
|
||||||
};
|
};
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -995,8 +995,8 @@ async function speedTestViaTunnel(req, res) {
|
|||||||
'/tool/speed-test',
|
'/tool/speed-test',
|
||||||
`address=${body.address}`,
|
`address=${body.address}`,
|
||||||
`user=${body.user}`,
|
`user=${body.user}`,
|
||||||
'protocol=tcp',
|
|
||||||
`test-duration=${durationSeconds}s`,
|
`test-duration=${durationSeconds}s`,
|
||||||
|
'proplist=tcp-download,tcp-upload',
|
||||||
];
|
];
|
||||||
console.log('[mikrotik][speedTestViaTunnel]', {
|
console.log('[mikrotik][speedTestViaTunnel]', {
|
||||||
serverId,
|
serverId,
|
||||||
|
|||||||
Reference in New Issue
Block a user