Skip to content

Commit

Permalink
Merge branch 'main' into event-history-refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
eriktaubeneck authored Jul 12, 2024
2 parents 0c02afa + 8b6b38d commit 7f6e5a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion server/app/query/view/[id]/components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export function RunTimePill({
if (startTime === null) {
setRunTime(null);
} else {
if (endTime !== null && startTime !== null) {
if (endTime !== null) {
setRunTime(endTime - startTime);
} else {
let newIntervalId = setInterval(() => {
Expand Down
3 changes: 3 additions & 0 deletions sidecar/app/query/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ class QueryExistsError(Exception):
pass


StatusChangeEvent = namedtuple("StatusChangeEvent", ["status", "timestamp"])


@dataclass
class Query:
query_id: str
Expand Down

0 comments on commit 7f6e5a7

Please sign in to comment.