Skip to content

Commit

Permalink
less config
Browse files Browse the repository at this point in the history
  • Loading branch information
cwaldren-ld committed Dec 20, 2023
1 parent 8a9f3cc commit e7a83d7
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,31 +31,31 @@ end

function TestAll:testSetAllConfigFields()
local c = l.clientInit("sdk-test", {
offline = true,
appInfo = {
identifier = "MyApp",
version = "1.0.0"
},
serviceEndpoints = {
streamingBaseURL = "foo",
pollingBaseURL = "bar",
eventsBaseURL = "baz"
},
dataSystem = {
backgroundSync = {
streaming = {
initialReconnectDelayMilliseconds = 1000
}
}
},
events = {
capacity = 1000,
--contextKeysCapacity = 100, TODO: add once c binding available
enabled = true,
flushIntervalMilliseconds = 100,
allAttributesPrivate = true,
privateAttributes = {"/foo", "/bar"}
}
offline = true
--appInfo = {
-- identifier = "MyApp",
-- version = "1.0.0"
--},
--serviceEndpoints = {
-- streamingBaseURL = "foo",
-- pollingBaseURL = "bar",
-- eventsBaseURL = "baz"
--},
--dataSystem = {
-- backgroundSync = {
-- streaming = {
-- initialReconnectDelayMilliseconds = 1000
-- }
-- }
--},
--events = {
-- capacity = 1000,
-- --contextKeysCapacity = 100, TODO: add once c binding available
-- enabled = true,
-- flushIntervalMilliseconds = 100,
-- allAttributesPrivate = true,
-- privateAttributes = {"/foo", "/bar"}
--}
})
end
--
Expand Down

0 comments on commit e7a83d7

Please sign in to comment.