Add fileReadDelay to inventoryImports config

Fix the inventoryImports client side code never receiving the script
output by specifying fileReadDelay and thereby getting the old
behaviour.  This broke with the introduction of the tail mode script
output mode which requires a newline to be written at the end of
the output.
This commit is contained in:
Hornwitser committed 2019-11-09 17:18:57 +01:00
1 parent 10414eb4a6
commit d810b5646d
2 files changed
+3

No files matched your search

+2
View File
@@ -11,6 +11,8 @@ Version 1.2.3
exceeding the default 100kb limit on JSON payloads.
- Fixed the command inventoryImport sends referencing player instead of
character, and trying to count the non-existant quick bar slots.
- Fixed inventoryImport never receiving the script output after the default
mode for reading script output changed to tail mode.
Version 1.2.2
+1
View File
@@ -17,4 +17,5 @@ module.exports = {
description: "Clusterio plugin to fill character logistic slots with master imports",
// We'll send everything in this file to your stdin. Beware.
scriptOutputFileSubscription: "inventoryImports.txt",
fileReadDelay: 100,
}