From 01ab831fa7be2de3e5b9c4b9b2669ba4f6d9ac3c Mon Sep 17 00:00:00 2001 From: Chris Whitfield Date: Tue, 26 Jul 2016 10:33:17 -0700 Subject: [PATCH 1/2] Added timeout for language request --- src/js/database.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/database.js b/src/js/database.js index 070833ccc..f59f372ff 100644 --- a/src/js/database.js +++ b/src/js/database.js @@ -17,7 +17,7 @@ function DataManager(db) { updateLanguageList: function () { var req = utils.promisify(request); - return req('http://td.unfoldingword.org/exports/langnames.json') + return req({url: 'http://td.unfoldingword.org/exports/langnames.json', timeout: 60000}) .then(function (response) { return JSON.parse(response.body); }) From fcc104462861a85d023a4b9a7e85ed7836fbb780 Mon Sep 17 00:00:00 2001 From: Chris Whitfield Date: Tue, 26 Jul 2016 10:46:24 -0700 Subject: [PATCH 2/2] bump build --- package.json | 2 +- scripts/win32_installer.iss | 2 +- scripts/win64_installer.iss | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 080e593c7..dda96c671 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "translationstudio", "productName": "translationStudio", "version": "9.2.0", - "build": "30", + "build": "31", "description": "A utility for translating the Bible and biblical content into any language.", "keywords": [], "homepage": "https://github.com/unfoldingWord-dev/ts-desktop", diff --git a/scripts/win32_installer.iss b/scripts/win32_installer.iss index 7b8f42165..936c69933 100644 --- a/scripts/win32_installer.iss +++ b/scripts/win32_installer.iss @@ -3,7 +3,7 @@ #define MyAppName "translationStudio" #define Version "9.2" -#define Build "30" +#define Build "31" #define MyAppPublisher "Unfolding Word" #define MyAppURL "https://unfoldingword.org" #define MyAppExeName "translationStudio.exe" diff --git a/scripts/win64_installer.iss b/scripts/win64_installer.iss index c9ac6d033..093263064 100644 --- a/scripts/win64_installer.iss +++ b/scripts/win64_installer.iss @@ -3,7 +3,7 @@ #define MyAppName "translationStudio" #define Version "9.2" -#define Build "30" +#define Build "31" #define MyAppPublisher "Unfolding Word" #define MyAppURL "https://unfoldingword.org" #define MyAppExeName "translationStudio.exe"