Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: requestBuffer #49

Merged
merged 12 commits into from
Feb 11, 2022
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ export const AGGREGATED_DATA_QUERY = {
{
assetId: AGGREGATED_DATA_ASSET,
properties: [
{ propertyId: AGGREGATED_DATA_PROPERTY },
{ propertyId: AGGREGATED_DATA_PROPERTY_2, resolution: '1m' },
{ propertyId: AGGREGATED_DATA_PROPERTY, resolution: '0' },
{ propertyId: AGGREGATED_DATA_PROPERTY_2 },
],
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export class TestingGround {
appKitSession={this.appKitSession}
queries={[AGGREGATED_DATA_QUERY]}
viewport={this.viewport}
settings={{ resolution: this.resolution }}
settings={{ resolution: this.resolution, requestBuffer: 10, fetchAggregatedData: true }}
/>
</div>
<iot-asset-details query={ASSET_DETAILS_QUERY} />
Expand Down
Loading