hardcode FEATURE_SOCKET_ENABLED to False

This commit is contained in:
Kenneth Kehl
2025-09-24 15:03:34 -07:00
parent 7668c6fc3c
commit 5a6c74edb3
3 changed files with 7 additions and 5 deletions

View File

@@ -195,9 +195,9 @@ def create_app(application):
@application.context_processor
def inject_feature_flags():
# this is where feature flags can be easily added as a dictionary within context
feature_socket_enabled = application.config.get("FEATURE_SOCKET_ENABLED", True)
feature_socket_enabled = application.config.get("FEATURE_SOCKET_ENABLED", False)
current_app.logger.debug(
current_app.logger.info(
f"FEATURE_SOCKET_ENABLED value in __init__.py coming \
from config is {application.config.get('FEATURED_SOCKET_ENABLED')} and \
the ending value is {feature_socket_enabled}"