Skip to content

Commit

Permalink
(snuba-deletes): storage_deletes_enabled default enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
MeredithAnya committed Sep 20, 2024
1 parent 6fe79f0 commit 431fce0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion snuba/web/delete_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def _delete_from_table(


def deletes_are_enabled() -> bool:
return bool(get_config("storage_deletes_enabled", 0))
return bool(get_config("storage_deletes_enabled", 1))


def _get_rows_to_delete(
Expand Down
1 change: 0 additions & 1 deletion tests/test_search_issues_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ def test_bad_delete(self) -> None:
assert "'query' is a required property" in res.get_json()["error"]["message"]

# test for invalid column types
set_config("storage_deletes_enabled", 1)
res = self.app.delete(
"/search_issues/",
data=json.dumps(
Expand Down

0 comments on commit 431fce0

Please sign in to comment.