Skip to content

Commit 508abab

Browse files
authored
Update SDK to latest (#20)
1 parent 757409e commit 508abab

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@ module github.com/devcyclehq/sdk-proxy
33
go 1.20
44

55
require (
6-
github.com/devcyclehq/go-server-sdk/v2 v2.16.0
6+
github.com/devcyclehq/go-server-sdk/v2 v2.17.0
77
github.com/gin-gonic/gin v1.10.0
88
github.com/kelseyhightower/envconfig v1.4.0
99
github.com/kr/pretty v0.3.1
10-
github.com/launchdarkly/eventsource v1.7.1
1110
github.com/stretchr/testify v1.9.0
1211
)
1312

@@ -28,6 +27,7 @@ require (
2827
github.com/json-iterator/go v1.1.12 // indirect
2928
github.com/klauspost/cpuid/v2 v2.2.7 // indirect
3029
github.com/kr/text v0.2.0 // indirect
30+
github.com/launchdarkly/eventsource v1.7.1 // indirect
3131
github.com/leodido/go-urn v1.4.0 // indirect
3232
github.com/matryer/try v0.0.0-20161228173917-9ac251b645a2 // indirect
3333
github.com/mattn/go-isatty v0.0.20 // indirect

go.sum

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ3
1111
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
1212
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
1313
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
14-
github.com/devcyclehq/go-server-sdk/v2 v2.16.0 h1:8yefgJISXZgSIlXcCNMK+RGM6X9kuuB1nZAs3kzSExQ=
15-
github.com/devcyclehq/go-server-sdk/v2 v2.16.0/go.mod h1:DzKrJ4s2apfphFwB/Aq8YDf7brB+NDr6IxX0TNi2c24=
14+
github.com/devcyclehq/go-server-sdk/v2 v2.16.1 h1:NZ0vHZhhrPOb2hbU/r5sIIDSG4tPc+TiO/ovJaP0Gk8=
15+
github.com/devcyclehq/go-server-sdk/v2 v2.16.1/go.mod h1:DzKrJ4s2apfphFwB/Aq8YDf7brB+NDr6IxX0TNi2c24=
16+
github.com/devcyclehq/go-server-sdk/v2 v2.17.0 h1:eBvoJesVPYvy7htJBjhIWRGbQq5fsmlcv4nvsrHqPDU=
17+
github.com/devcyclehq/go-server-sdk/v2 v2.17.0/go.mod h1:DzKrJ4s2apfphFwB/Aq8YDf7brB+NDr6IxX0TNi2c24=
1618
github.com/gabriel-vasile/mimetype v1.4.3 h1:in2uUcidCuFcDKtdcBxlR0rJ1+fsokWf+uqxgUFjbI0=
1719
github.com/gabriel-vasile/mimetype v1.4.3/go.mod h1:d8uq/6HKRL6CGdk+aubisF/M5GcPfT7nKyLpA0lbSSk=
1820
github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE=

options.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ func (i *ProxyInstance) BuildDevCycleOptions() *devcycle.Options {
6060
options := devcycle.Options{
6161
EnableEdgeDB: false,
6262
EnableCloudBucketing: false,
63+
DisableETagMatching: true,
6364
EventFlushIntervalMS: time.Duration(i.SDKConfig.EventFlushIntervalMS) * time.Millisecond,
6465
ConfigPollingIntervalMS: time.Duration(i.SDKConfig.ConfigPollingIntervalMS) * time.Millisecond,
6566
RequestTimeout: time.Duration(i.SDKConfig.RequestTimeout) * time.Millisecond,

0 commit comments

Comments
 (0)