Skip to content

Commit 790fdcb

Browse files
fix: work around time agnostic query issue (#79)
1 parent 43ba74d commit 790fdcb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hypertrace-graphql-entity-schema/src/main/java/org/hypertrace/graphql/entity/joiner/DefaultEntityJoinerBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,8 +281,8 @@ public Single<EntityRequest> buildNeighborRequest(
281281
@Value
282282
@Accessors(fluent = true)
283283
private static class InstantTimeRange implements TimeRangeArgument {
284-
// Modify start time just because gateway requires it to be before endtime
285-
Instant startTime = Instant.now().minus(1, ChronoUnit.MINUTES);
284+
// Bug in gateway requires this time range be larger, even though we don't care about it
285+
Instant startTime = Instant.now().minus(15, ChronoUnit.MINUTES);
286286
Instant endTime = Instant.now();
287287
}
288288

0 commit comments

Comments
 (0)