mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-08 18:59:47 +00:00
feat: connect token 添加 Rdp options
This commit is contained in:
@@ -18,13 +18,9 @@ from .models import Setting
|
||||
logger = get_logger(__file__)
|
||||
|
||||
|
||||
def get_settings_pub_sub():
|
||||
return RedisPubSub('settings')
|
||||
|
||||
|
||||
class SettingSubPub(LazyObject):
|
||||
def _setup(self):
|
||||
self._wrapped = get_settings_pub_sub()
|
||||
self._wrapped = RedisPubSub('settings')
|
||||
|
||||
|
||||
setting_pub_sub = SettingSubPub()
|
||||
|
Reference in New Issue
Block a user