mirror of
https://github.com/Redume/Kekkai.git
synced 2025-02-23 12:43:12 +03:00
Теперь если ошибка с конфигом таймаута, то будет выбираться таймаут на 3с
This commit is contained in:
parent
e665903c5a
commit
9443efae46
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ async function save_fiat() {
|
|||
})
|
||||
.catch((err) => {
|
||||
logger.error(err);
|
||||
setTimeout(save_fiat, err.config.timeout);
|
||||
setTimeout(save_fiat, err.config.timeout ? err.config.timeout : 3000);
|
||||
});
|
||||
}),
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue