Skip to content

Commit

Permalink
Add a store_query_status()
Browse files Browse the repository at this point in the history
  • Loading branch information
Twixes committed Jul 25, 2024
1 parent 8edb85c commit 8480cf3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions posthog/clickhouse/client/execute_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ def execute_process_query(
return

query_status.pickup_time = datetime.datetime.now(datetime.UTC)
manager.store_query_status(query_status)

query_status.error = True # Assume error in case nothing below ends up working
query_status.complete = True

Expand Down

0 comments on commit 8480cf3

Please sign in to comment.