adjusting if forces retry while reading files or not

This commit is contained in:
Luis Fernando Molina committed 2019-10-01 22:01:16 +02:00
1 parent 014d1a0b3a
commit ab17809159
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -318,7 +318,7 @@
let filePath = filePathRoot + "/Output/" + CANDLES_FOLDER_NAME + '/' + "Multi-Period-Daily" + "/" + timePeriod + "/" + dateForPath;
filePath += '/' + fileName
fileStorage.getTextFile(bot.devTeam, filePath, onCurrentDayFileReceived, true);
fileStorage.getTextFile(bot.devTeam, filePath, onCurrentDayFileReceived);
function onCurrentDayFileReceived(err, text) {
@@ -358,7 +358,7 @@
let filePath = filePathRoot + "/Output/" + CANDLES_FOLDER_NAME + '/' + "Multi-Period-Daily" + "/" + timePeriod + "/" + dateForPath;
filePath += '/' + fileName
fileStorage.getTextFile(bot.devTeam, filePath, onCurrentDayFileReceived, true);
fileStorage.getTextFile(bot.devTeam, filePath, onCurrentDayFileReceived);
function onCurrentDayFileReceived(err, text) {
+1 -1
View File
@@ -113,7 +113,7 @@
let filePath = filePathRoot + "/Output/" + CANDLES_FOLDER_NAME + "/" + "Multi-Period-Market" + "/" + timePeriod;
filePath += '/' + fileName
fileStorage.getTextFile(bot.devTeam, filePath, onFileReceived, true);
fileStorage.getTextFile(bot.devTeam, filePath, onFileReceived);
function onFileReceived(err, text) {