Skip to content

fix: pass SDKConfig.KeepAlive to RunwareConfig in makeClient#5

Open
kamalkalwa wants to merge 1 commit intoRunware:mainfrom
kamalkalwa:fix/use-keepalive-config
Open

fix: pass SDKConfig.KeepAlive to RunwareConfig in makeClient#5
kamalkalwa wants to merge 1 commit intoRunware:mainfrom
kamalkalwa:fix/use-keepalive-config

Conversation

@kamalkalwa
Copy link
Copy Markdown

Summary

makeClient() hardcodes KeepAlive: false instead of forwarding cfg.KeepAlive, making it impossible to enable WebSocket keep-alive through SDKConfig.

Changes

One-line fix in sdk.go:111 — replace KeepAlive: false with KeepAlive: cfg.KeepAlive.

Fixes #4

makeClient() was hardcoding KeepAlive to false instead of
forwarding the value from SDKConfig, making it impossible
for users to enable WebSocket keep-alive through the SDK
configuration.

Fixes Runware#4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SDKConfig.KeepAlive field is ignored in makeClient()

1 participant