Merge pull request #2935 from GSA/feature_enabled

Feature flag enabled for polling
This commit is contained in:
ccostino
2025-09-23 10:25:30 -04:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -191,7 +191,7 @@ 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", False)
feature_socket_enabled = application.config.get("FEATURE_SOCKET_ENABLED", True)
return dict(
FEATURE_SOCKET_ENABLED=feature_socket_enabled,
)

View File

@@ -7,6 +7,6 @@ cloud_dot_gov_route: notify.app.cloud.gov
redis_enabled: 1
nr_agent_id: '1050708682'
nr_app_id: '1050708682'
FEATURE_SOCKET_ENABLED: false
FEATURE_SOCKET_ENABLED: true
API_PUBLIC_URL: https://notify-api-production.app.cloud.gov
API_PUBLIC_WS_URL: wss://notify-api-production.app.cloud.gov

View File

@@ -7,6 +7,6 @@ cloud_dot_gov_route: notify-staging.app.cloud.gov
redis_enabled: 1
nr_agent_id: '1134291385'
nr_app_id: '1031640326'
FEATURE_SOCKET_ENABLED: false
FEATURE_SOCKET_ENABLED: true
API_PUBLIC_URL: https://notify-api-staging.app.cloud.gov
API_PUBLIC_WS_URL: wss://notify-api-staging.app.cloud.gov