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:
1 parent
270cee077f
commit
89c75f8e2e
1 file changed
+4
-1
@@ -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