From cb126a80cfa8502a582ee651f9e45c3b0d6f79f7 Mon Sep 17 00:00:00 2001 From: Nick White Date: Tue, 31 Mar 2020 16:54:11 +0100 Subject: Disable autoshutdown by default for bookpipeline, and update to ami 0.11 (which reenables it for spot instances) --- cmd/bookpipeline/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/bookpipeline') diff --git a/cmd/bookpipeline/main.go b/cmd/bookpipeline/main.go index dce1586..7b45541 100644 --- a/cmd/bookpipeline/main.go +++ b/cmd/bookpipeline/main.go @@ -675,7 +675,7 @@ func main() { noocr := flag.Bool("no", false, "disable ocr") noocrpg := flag.Bool("nop", false, "disable ocr on individual pages") noanalyse := flag.Bool("na", false, "disable analysis") - autoshutdown := flag.Bool("shutdown", true, "automatically shut down if no work has been available for 5 minutes") + autoshutdown := flag.Bool("shutdown", false, "automatically shut down if no work has been available for 5 minutes") flag.Usage = func() { fmt.Fprintf(flag.CommandLine.Output(), usage) -- cgit v1.2.1-24-ge1ad