Skip to content

Commit

Permalink
Make PagerDutyService temporarily dual silo
Browse files Browse the repository at this point in the history
  • Loading branch information
corps committed Jul 19, 2023
1 parent 5bf2f57 commit 07a6744
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/sentry/models/integrations/pagerduty_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,14 @@
from django.db.models import CASCADE
from django.utils import timezone

from sentry.db.models import (
BoundedBigIntegerField,
DefaultFieldsModel,
FlexibleForeignKey,
control_silo_only_model,
)
from sentry.db.models import BoundedBigIntegerField, DefaultFieldsModel, FlexibleForeignKey
from sentry.db.models.base import ModelSiloLimit
from sentry.db.models.fields.hybrid_cloud_foreign_key import HybridCloudForeignKey
from sentry.silo import SiloMode


@control_silo_only_model
# Temporary -- this will become a control silo model again after a future getsentry merge.
@ModelSiloLimit(SiloMode.CONTROL, SiloMode.REGION)
class PagerDutyService(DefaultFieldsModel):
__include_in_export__ = False

Expand Down

0 comments on commit 07a6744

Please sign in to comment.