Skip to content

Commit

Permalink
fix polling test
Browse files Browse the repository at this point in the history
  • Loading branch information
keelerm84 committed Aug 26, 2024
1 parent 82b27b6 commit a53a5db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ class StreamingProcessor implements LDStreamProcessor {
this.headers = defaultHeaders(sdkKey, info, tags);
this.logger = logger;
this.requests = requests;

this.streamUri = basicConfiguration.serviceEndpoints.getStreamingUri(streamUriPath);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ function makeConfig(config?: { pollInterval?: number; useReport?: boolean }): Po
analyticsEventPath: '',
diagnosticEventPath: '',
includeAuthorizationHeader: false,
getPollingUri: (_: string): string => 'http://example.example.example/sdk/latest-all',
getStreamingUri: (_: string): string => '/all',
getFilteredUri: (_: string): string => '',
},
};
}
Expand Down

0 comments on commit a53a5db

Please sign in to comment.