diff options
-rw-r--r-- | aws.go | 2 | ||||
-rw-r--r-- | cmd/bookpipeline/main.go | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -447,7 +447,7 @@ func (a *AwsConn) StartInstances(n int) error { IamInstanceProfile: &ec2.IamInstanceProfileSpecification{ Arn: aws.String("arn:aws:iam::557852942063:instance-profile/pipeliner"), }, - ImageId: aws.String("ami-03b8203f86b8db97f"), + ImageId: aws.String("ami-0bc6ef6900f6da5d3"), InstanceType: aws.String("m5.large"), SecurityGroupIds: []*string{ aws.String("sg-0be8a3ab89e7136b9"), 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) |