Skip to content

Commit

Permalink
multi: fix aperture config + bump golang version
Browse files Browse the repository at this point in the history
In this commit, we fix a test harness config value that overflowed.
We also bump the golang version used in all docker images to 1.20.5.
  • Loading branch information
jharveyb committed Jun 22, 2023
1 parent caabf8f commit 09c46af
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ env:
GOPATH: /home/runner/work/go
GO111MODULE: on

GO_VERSION: '1.20.4'
GO_VERSION: '1.20.5'

jobs:
#######################
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# /make/builder.Dockerfile
# /.github/workflows/main.yml
# /.github/workflows/release.yml
FROM golang:1.20.4-alpine as builder
FROM golang:1.20.5-alpine as builder

# Force Go to use the cgo based DNS resolver. This is required to ensure DNS
# queries required to connect to linked containers succeed.
Expand Down
2 changes: 1 addition & 1 deletion dev.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# IMAGE FOR BUILDING
FROM golang:1.20.4 as builder
FROM golang:1.20.5 as builder

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion make/builder.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# /dev.Dockerfile
# /.github/workflows/main.yml
# /.github/workflows/release.yml
FROM golang:1.20.4-buster
FROM golang:1.20.5-buster

MAINTAINER Olaoluwa Osuntokun <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion proof/aperture.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func NewApertureHarness(t *testing.T, port int) ApertureHarness {
HashMail: &aperture.HashMailConfig{
Enabled: true,
MessageRate: time.Millisecond,
MessageBurstAllowance: math.MaxUint32,
MessageBurstAllowance: int(math.MaxInt32),
},
Prometheus: &aperture.PrometheusConfig{},
Tor: &aperture.TorConfig{},
Expand Down

0 comments on commit 09c46af

Please sign in to comment.