Skip to content

Commit

Permalink
fix: ensure all streams log sync costs (#752)
Browse files Browse the repository at this point in the history
Ensure all streams log sync costs
  • Loading branch information
laurentS authored and edgarrmondragon committed Jun 30, 2022
1 parent b0a1b7a commit b4bc2c7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions singer_sdk/tap_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,10 @@ def sync_all(self) -> None:

stream.sync()
stream.finalize_state_progress_markers()

# this second loop is needed for all streams to print out their costs
# including child streams which are otherwise skipped in the loop above
for stream in self.streams.values():
stream.log_sync_costs()

# Command Line Execution
Expand Down

0 comments on commit b4bc2c7

Please sign in to comment.