diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b16ac4..86f44b2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 1.6.2 +- Bumped Plex SQLite native binary abortion timeout to avoid false alarms on weaker systems + ## 1.6.1 - Added capability `DONT_THROW_ON_ENCODING_ERROR` that can be used to prevent forced shutdown if extra data of an item causes decoding errors. diff --git a/VERSION b/VERSION index 2eda823..308b6fa 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.6.1 \ No newline at end of file +1.6.2 \ No newline at end of file diff --git a/build.gradle b/build.gradle index afd4f81..fe206d3 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ plugins { id 'com.github.spotbugs' version '2.0.1' } -version = '1.6.1' +version = '1.6.2' sourceCompatibility = '11' new File(projectDir, "VERSION").text = version; diff --git a/src/main/java/updatetool/imdb/ImdbDatabaseSupport.java b/src/main/java/updatetool/imdb/ImdbDatabaseSupport.java index b8b4af3..8d64786 100644 --- a/src/main/java/updatetool/imdb/ImdbDatabaseSupport.java +++ b/src/main/java/updatetool/imdb/ImdbDatabaseSupport.java @@ -75,9 +75,12 @@ private void testPlexSqliteBinaryVersion() { }); - var result = proc.waitFor(1, TimeUnit.SECONDS); + var result = proc.waitFor(10, TimeUnit.SECONDS); if(!result) { - Logger.error("Checking Plex SQLite version took more than 1s... Likely invalid binary supplied @ {}. Exiting tool...", config.executeUpdatesOverPlexSqliteVersion); + Logger.error("Checking Plex SQLite version took more than 10s... Likely invalid binary supplied @ {}. Exiting tool...", config.executeUpdatesOverPlexSqliteVersion); + Logger.error("====== Dumping STD::OUT ======"); + Logger.error(sb.toString()); + Logger.error("============"); System.exit(-1); } else { if(!sb.toString().startsWith("3.")) { @@ -274,9 +277,9 @@ private void internalBatchUpdateOverPlexSqliteBinary(List it } }); - var result = proc.waitFor(30, TimeUnit.SECONDS); + var result = proc.waitFor(60, TimeUnit.SECONDS); if(!result) { - Logger.error("Executing updates for {} item(s) took longer than 30s... Something bad happened... @ {}. Exiting tool...", config.executeUpdatesOverPlexSqliteVersion); + Logger.error("Executing updates for {} item(s) took longer than 60s... Something bad happened... @ {}. Exiting tool...", config.executeUpdatesOverPlexSqliteVersion); Logger.error("Dumping SQlite 3 STD::OUT"); Logger.error("==================="); Logger.error(sb2.toString()); diff --git a/src/main/resources/VERSION b/src/main/resources/VERSION index 2eda823..308b6fa 100644 --- a/src/main/resources/VERSION +++ b/src/main/resources/VERSION @@ -1 +1 @@ -1.6.1 \ No newline at end of file +1.6.2 \ No newline at end of file