mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-25 08:44:23 -04:00
Merge pull request #2944 from GSA/polling
hardcode FEATURE_SOCKET_ENABLED to False
This commit is contained in:
@@ -161,7 +161,7 @@
|
|||||||
"filename": "app/config.py",
|
"filename": "app/config.py",
|
||||||
"hashed_secret": "577a4c667e4af8682ca431857214b3a920883efc",
|
"hashed_secret": "577a4c667e4af8682ca431857214b3a920883efc",
|
||||||
"is_verified": false,
|
"is_verified": false,
|
||||||
"line_number": 122,
|
"line_number": 124,
|
||||||
"is_secret": false
|
"is_secret": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -634,5 +634,5 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"generated_at": "2025-09-17T19:16:00Z"
|
"generated_at": "2025-09-24T22:03:22Z"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -195,9 +195,9 @@ def create_app(application):
|
|||||||
@application.context_processor
|
@application.context_processor
|
||||||
def inject_feature_flags():
|
def inject_feature_flags():
|
||||||
# this is where feature flags can be easily added as a dictionary within context
|
# 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 \
|
f"FEATURE_SOCKET_ENABLED value in __init__.py coming \
|
||||||
from config is {application.config.get('FEATURED_SOCKET_ENABLED')} and \
|
from config is {application.config.get('FEATURED_SOCKET_ENABLED')} and \
|
||||||
the ending value is {feature_socket_enabled}"
|
the ending value is {feature_socket_enabled}"
|
||||||
|
|||||||
@@ -90,7 +90,9 @@ class Config(object):
|
|||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
FEATURE_SOCKET_ENABLED = getenv("FEATURE_SOCKET_ENABLED", "true") == "true"
|
# TODO FIX!!!
|
||||||
|
# FEATURE_SOCKET_ENABLED = getenv("FEATURE_SOCKET_ENABLED", "true") == "true"
|
||||||
|
FEATURE_SOCKET_ENABLED = False
|
||||||
|
|
||||||
|
|
||||||
def _s3_credentials_from_env(bucket_prefix):
|
def _s3_credentials_from_env(bucket_prefix):
|
||||||
|
|||||||
Reference in New Issue
Block a user