Skip to content

Commit bdb21d9

Browse files
committed
Increase axios timeout and bump version to 1.0.0
1 parent 618b0b2 commit bdb21d9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ const setSettings = exports.setSettings = (targetWindow, updatedSettings) => {
186186
settings = updatedSettings;
187187
axiosApi = axios.create({
188188
baseURL: settings.apiUrl,
189-
timeout: 5000,
189+
timeout: 50000,
190190
});
191191
mainWindow.webContents.send('settings', updatedSettings);
192192
};
@@ -558,7 +558,7 @@ const fetchAllTransactions = exports.fetchAllTransactions = async (targetWindow)
558558

559559
let count = 0;
560560
async.eachOf(newTransactions, function(tx) {
561-
targetWindow.webContents.send('task-running', `Saving transactions...`);
561+
targetWindow.webContents.send('task-running', `Saving fetched transactions...`);
562562
db.run(`INSERT INTO transactions (txid, time, address, vins, vouts, amount, fees, block, currency) VALUES (?,?,?,?,?,?,?,?,?)`, [tx.txid, tx.time, tx.address, tx.vins, tx.vouts, tx.amount, tx.fees, tx.block, 'ZEN'], function(err) {
563563
if (err) {
564564
dbErrorBox(err, 'writing');

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "txnsapp",
3-
"version": "0.0.2",
3+
"version": "1.0.0",
44
"description": "Application to fetch the transaction history for Horizen addresses and export to various online cointracking services",
55
"main": "app/main.js",
66
"dependencies": {

0 commit comments

Comments
 (0)