Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
elfjes committed Apr 23, 2024
1 parent 52a37b5 commit 02d1e6d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/argus/site/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,10 @@
ARGUS_DISABLE_REDIS = get_bool_env("ARGUS_DISABLE_REDIS", False)
if ARGUS_DISABLE_REDIS:
CHANNEL_LAYERS = {
"default": {
"BACKEND": "channels.layers.InMemoryChannelLayer"
"default": {
"BACKEND": "channels.layers.InMemoryChannelLayer",
},
}
}
else:
_REDIS = urlsplit("//" + get_str_env("ARGUS_REDIS_SERVER", "127.0.0.1:6379"))
CHANNEL_LAYERS = {
Expand All @@ -234,7 +234,7 @@
"hosts": [(_REDIS.hostname, _REDIS.port or 6379)],
},
},
}
}
# fmt: on

# Project specific settings
Expand Down

0 comments on commit 02d1e6d

Please sign in to comment.