Skip to content

Commit 708fe1c

Browse files
authored
Fallback config options shouldn't be broken (#3471)
We've since passed sqlite and Django as a Celery broker, so we shouldn't even fall back to them. Refs GH-2589
1 parent 3cec6c0 commit 708fe1c

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/sentry/conf/server.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@
5353

5454
DATABASES = {
5555
'default': {
56-
'ENGINE': 'django.db.backends.sqlite3',
57-
'NAME': 'sentry.db',
58-
'USER': '',
56+
'ENGINE': 'sentry.db.postgres',
57+
'NAME': 'sentry',
58+
'USER': 'postgres',
5959
'PASSWORD': '',
6060
'HOST': '',
6161
'PORT': '',
@@ -360,7 +360,7 @@
360360
# Queue configuration
361361
from kombu import Exchange, Queue
362362

363-
BROKER_URL = "django://"
363+
BROKER_URL = "redis://localhost:6379"
364364
BROKER_TRANSPORT_OPTIONS = {}
365365

366366
# Ensure workers run async by default

src/sentry/data/config/sentry.conf.py.default

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ DATABASES = {
1414
'PASSWORD': '',
1515
'HOST': '',
1616
'PORT': '',
17+
'AUTOCOMMIT': True,
18+
'ATOMIC_REQUESTS': False,
1719
}
1820
}
1921

0 commit comments

Comments
 (0)