Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

Commit fd9e4c5

Browse files
committed
Set ctx to background
1 parent 88d579b commit fd9e4c5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

platform/backend_connectors/hydrolix_backend_connector.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ func (p *HydrolixBackendConnector) Exec(ctx context.Context, query string, args
125125
orgID := "d9ce0431-f26f-44e3-b0ef-abc1653d04eb"
126126
projectID := "27506b30-0c78-41fa-a059-048d687f1164"
127127

128+
// TODO context might be cancelled too early
129+
ctx = context.Background()
128130
if !isValidJSON(query) {
129131
return fmt.Errorf("invalid JSON payload: %s", query)
130132
}

0 commit comments

Comments
 (0)