Skip to content

Commit

Permalink
Revert "ref(hc): Do not run default project setup for non self hosted…
Browse files Browse the repository at this point in the history
… cases. (#56489)"

This reverts commit e7e1550.

Co-authored-by: corps <593850+corps@users.noreply.github.com>
  • Loading branch information
getsentry-bot and corps committed Sep 20, 2023
1 parent 9987ce4 commit 435fbde
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/sentry/receivers/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
from sentry.services.hybrid_cloud.util import region_silo_function
from sentry.signals import post_upgrade, project_created
from sentry.silo import SiloMode
from sentry.utils.settings import is_self_hosted

PROJECT_SEQUENCE_FIX = """
SELECT setval('sentry_project_id_seq', (
Expand All @@ -40,9 +39,6 @@ def wrapped(*args, **kwargs):


def create_default_projects(**kwds):
if not is_self_hosted():
return

create_default_project(
# This guards against sentry installs that have SENTRY_PROJECT set to None, so
# that they don't error after every migration. Specifically for single tenant.
Expand Down

0 comments on commit 435fbde

Please sign in to comment.