Skip to content

Commit

Permalink
Merge pull request #47 from istresearch/dev/flowchannels into develop
Browse files Browse the repository at this point in the history
goflow updated... wait, wut?
  • Loading branch information
baracudda authored Mar 27, 2024
2 parents a40caab + 0943e37 commit ba0588b
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.0.16.9
4.0.16.10
3 changes: 3 additions & 0 deletions cmd/mailroom/main.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
package main

import (
"math/rand"
"os"
"os/signal"
goruntime "runtime"
"syscall"
"time"

"github.com/nyaruka/ezconf"
"github.com/nyaruka/gocommon/uuids"
Expand Down Expand Up @@ -65,6 +67,7 @@ func (u UTCLogFormatter) Format(e *logrus.Entry) ([]byte, error) {
}

func main() {
rand.Seed(time.Now().Unix()) // initialize global pseudo random generator prior to GoLang 1.20
config := runtime.NewDefaultConfig()
config.Version = version
loader := ezconf.NewLoader(
Expand Down
3 changes: 3 additions & 0 deletions core/models/msgs.go
Original file line number Diff line number Diff line change
Expand Up @@ -994,6 +994,9 @@ func (b *BroadcastBatch) CreateMessages(ctx context.Context, rt *runtime.Runtime
break
}
}
} else if false {
//<*((==<
//TODO
} else {
// no forced URN, find the first URN we can send to
for _, u := range contact.URNs() {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect
)

replace github.com/nyaruka/goflow v0.163.0 => github.com/istresearch/goflow v0.2402.26-213
replace github.com/nyaruka/goflow v0.163.0 => github.com/istresearch/goflow v0.2403.27-205
6 changes: 2 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,8 @@ github.com/gorilla/schema v1.2.0/go.mod h1:kgLaKoK1FELgZqMAVxx/5cbj0kT+57qxUrAlI
github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
github.com/istresearch/goflow v0.2401.9-190 h1:RG0d0/0TQ5y1IsrGVwM8pGOipBFh+WDlXlolVcRNpbA=
github.com/istresearch/goflow v0.2401.9-190/go.mod h1:l9ofsG8/pcgfIyhEFYCQk1i9uGWBPbfc0nzNvJh2AZA=
github.com/istresearch/goflow v0.2401.9-190.0.20240226212345-50dfb4a31c95/go.mod h1:l9ofsG8/pcgfIyhEFYCQk1i9uGWBPbfc0nzNvJh2AZA=
github.com/istresearch/goflow v0.2402.26-213/go.mod h1:l9ofsG8/pcgfIyhEFYCQk1i9uGWBPbfc0nzNvJh2AZA=
github.com/istresearch/goflow v0.2403.27-205 h1:+BNz2Oyph0bl+dDnTIBZL1Z9zBRS4oaaN31uC+Uq+CU=
github.com/istresearch/goflow v0.2403.27-205/go.mod h1:l9ofsG8/pcgfIyhEFYCQk1i9uGWBPbfc0nzNvJh2AZA=
github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg=
github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo=
github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8=
Expand Down

0 comments on commit ba0588b

Please sign in to comment.