Skip to content

Commit

Permalink
#94 fix route collection race condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Reindert Vetter committed Jan 29, 2021
1 parent a8a179e commit 22c693f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ RUN chown -R fly:fly $GOCACHE $GOMODCACHE
USER fly

RUN go get github.com/cespare/reflex
CMD ~/go/bin/reflex -r '(\.go$|\.gohtml$|go\.mod$|\.env$)' -s -- sh -c "go run main.go"
CMD ~/go/bin/reflex -r '(\.go$|\.gohtml$|go\.mod$|\.env$)' -s -- sh -c "go run -race main.go"
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: '3'
services:
confetti.local:
build:
context: runtimes
context: ./
dockerfile: Dockerfile
args:
WWWGROUP: '${WWWGROUP:-20}'
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ github.com/confetti-framework/routing v0.5.1 h1:N2J1FdzNJvDnEXK8K4UOjRCCGACN1Gs2
github.com/confetti-framework/routing v0.5.1/go.mod h1:Qo2uCL3L1fBZ783AzYg5TcSB2+fvjSiH19TXqaVIANo=
github.com/confetti-framework/support v0.2.0-rc.1 h1:LSF3NDIVqPpRJEEj4r+4N1PoJfAvGxe0Hdr2sNHwJ60=
github.com/confetti-framework/support v0.2.0-rc.1/go.mod h1:uwOTcc+vAtkzr5GihkCzjv11YVI15UJMhfU2HLRCk/A=
github.com/confetti-framework/support v0.2.0-rc.2 h1:8VT+f4BFI7HrquqRjrYIdq+79NoNt7pCbGLf3t+XCI0=
github.com/confetti-framework/support v0.2.0-rc.2/go.mod h1:uwOTcc+vAtkzr5GihkCzjv11YVI15UJMhfU2HLRCk/A=
github.com/confetti-framework/syslog v0.1.0-rc h1:BqzyW2p9uSxYOL1MQFrMGAcsix7X5nW8bgHlf7SuZkM=
github.com/confetti-framework/syslog v0.1.0-rc/go.mod h1:O6eT3y5cYDGQSVT6lrhScB5NKdylG0R304PmGiChm7Y=
github.com/confetti-framework/validation v0.1.0-rc.1 h1:FAWrTYiyurHnO1oBeIcTH2mmdfN+aJCskDkWvMawt6A=
Expand Down

0 comments on commit 22c693f

Please sign in to comment.