Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed Oct 29, 2024
1 parent c2c729a commit 494ac97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pioreactor/actions/leader/backup_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

def count_writes_occurring(unit: str) -> int:
with local_intermittent_storage("mqtt_to_db_streaming") as c:
return c.get("local_intermittent_cache", 0)
return c.get("inserts_in_last_60s", 0)


def backup_database(output_file: str, force: bool = False, backup_to_workers: int = 0) -> None:
Expand Down

0 comments on commit 494ac97

Please sign in to comment.