Deprecate event namespace config knob (#2218)
This commit is contained in:
parent
d61b83fde7
commit
7f75571e67
@ -286,6 +286,12 @@ class Config(Base):
|
|||||||
The namespace for websocket.
|
The namespace for websocket.
|
||||||
"""
|
"""
|
||||||
if self.event_namespace:
|
if self.event_namespace:
|
||||||
|
console.deprecate(
|
||||||
|
feature_name="Passing event_namespace in the config",
|
||||||
|
reason="",
|
||||||
|
deprecation_version="0.3.5",
|
||||||
|
removal_version="0.3.10",
|
||||||
|
)
|
||||||
return f'/{self.event_namespace.strip("/")}'
|
return f'/{self.event_namespace.strip("/")}'
|
||||||
|
|
||||||
event_url = constants.Endpoint.EVENT.get_url()
|
event_url = constants.Endpoint.EVENT.get_url()
|
||||||
|
Loading…
Reference in New Issue
Block a user