fix(InterfaceSpeedTest): increase timeout for speed test API request to accommodate longer test durations
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 1m56s
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 1m56s
This commit is contained in:
@@ -186,7 +186,10 @@ export default function InterfaceSpeedTest() {
|
||||
interfaceName: selectedInterfaceName,
|
||||
durationSeconds: speedSettings.durationSeconds,
|
||||
};
|
||||
const res = await api.post('/mikrotik/speed-test', body);
|
||||
const res = await api.post('/mikrotik/speed-test', body, {
|
||||
// speed-test может занимать дольше стандартных 30 секунд
|
||||
timeout: 120000,
|
||||
});
|
||||
const data = res?.data || {};
|
||||
if (data.ok === false) {
|
||||
notify.error(
|
||||
|
||||
Reference in New Issue
Block a user