adjusting if forces retry while reading files or not
This commit is contained in:
1 parent
a75416fcc1
commit
5d1efd056a
1 file changed
+5
-5
@@ -271,7 +271,7 @@ This process complements the Live Trades process and write historical trades fil
|
||||
let reportFilePath = global.EXCHANGE_NAME + "/Processes/" + bot.process;
|
||||
let fileName = "Status.Report." + market.assetA + '_' + market.assetB + ".json";
|
||||
|
||||
charlyStorage.getTextFile(reportFilePath, fileName, onFileReceived, true);
|
||||
charlyStorage.getTextFile(reportFilePath, fileName, onFileReceived);
|
||||
|
||||
function onFileReceived(text) {
|
||||
|
||||
@@ -327,7 +327,7 @@ This process complements the Live Trades process and write historical trades fil
|
||||
let reportFilePath = global.EXCHANGE_NAME + "/Processes/" + bot.process + "/" + year + "/" + month;
|
||||
let fileName = "Status.Report." + market.assetA + '_' + market.assetB + ".json";
|
||||
|
||||
charlyStorage.getTextFile(reportFilePath, fileName, onFileReceived, true);
|
||||
charlyStorage.getTextFile(reportFilePath, fileName, onFileReceived);
|
||||
|
||||
function onFileReceived(text) {
|
||||
|
||||
@@ -959,7 +959,7 @@ This process complements the Live Trades process and write historical trades fil
|
||||
|
||||
/* Lets read the main status report */
|
||||
|
||||
charlyStorage.getTextFile(reportFilePath, fileName, onFileReceived, true);
|
||||
charlyStorage.getTextFile(reportFilePath, fileName, onFileReceived);
|
||||
|
||||
function onFileReceived(text) {
|
||||
|
||||
@@ -995,7 +995,7 @@ This process complements the Live Trades process and write historical trades fil
|
||||
let reportFilePath = global.EXCHANGE_NAME + "/Processes/" + bot.process + "/" + initialYear + "/" + paddedInitialMonth;
|
||||
let fileName = "Status.Report." + market.assetA + '_' + market.assetB + ".json";
|
||||
|
||||
charlyStorage.getTextFile(reportFilePath, fileName, onStatusReportFileReceived, true);
|
||||
charlyStorage.getTextFile(reportFilePath, fileName, onStatusReportFileReceived);
|
||||
|
||||
function onStatusReportFileReceived(text) {
|
||||
|
||||
@@ -1061,7 +1061,7 @@ This process complements the Live Trades process and write historical trades fil
|
||||
let reportFilePath = global.EXCHANGE_NAME + "/Processes/" + bot.process;
|
||||
let fileName = "Status.Report." + market.assetA + '_' + market.assetB + ".json";
|
||||
|
||||
charlyStorage.getTextFile(reportFilePath, fileName, onFileReceived, true);
|
||||
charlyStorage.getTextFile(reportFilePath, fileName, onFileReceived);
|
||||
|
||||
function onFileReceived(text) {
|
||||
|
||||
|
||||
Reference in new issue
Block a user