Bug on File Storage second try
This commit is contained in:
1 parent
8953508f04
commit
59d8cb4f6c
2 files changed
+2
No files matched your search
Binary file not shown.
@@ -167,6 +167,7 @@ exports.newFileStorage = function newFileStorage(BOT) {
|
||||
if (err.message.indexOf("The server is busy") > 0 || err.code === 'ECONNRESET') {
|
||||
|
||||
setTimeout(secondTry, 1000);
|
||||
return;
|
||||
|
||||
function secondTry() {
|
||||
|
||||
@@ -239,6 +240,7 @@ exports.newFileStorage = function newFileStorage(BOT) {
|
||||
if (err.message.indexOf("The server is busy") > 0 || err.code === 'ECONNRESET') {
|
||||
|
||||
setTimeout(secondTry, 1000);
|
||||
return;
|
||||
|
||||
function secondTry() {
|
||||
|
||||
|
||||
Reference in new issue
Block a user