mirror of https://github.com/jumpserver/jumpserver
commit
ef73469d5d
|
@ -164,9 +164,6 @@ class AssetUser(OrgModelMixin):
|
|||
def set_asset_connectivity(self, asset, c):
|
||||
key = self.get_asset_connectivity_key(asset)
|
||||
Connectivity.set(key, c)
|
||||
# 当为某个系统用户或管理用户设置的的时候,失效掉他们的连接数量
|
||||
amount_key = self.CONNECTIVITY_AMOUNT_CACHE_KEY.format(self.username, '*')
|
||||
cache.delete_pattern(amount_key)
|
||||
|
||||
def get_asset_user(self, asset):
|
||||
from ..backends import AssetUserManager
|
||||
|
|
|
@ -54,6 +54,9 @@ LOG_LEVEL = CONFIG.LOG_LEVEL
|
|||
|
||||
ALLOWED_HOSTS = ['*']
|
||||
|
||||
# Max post update field num
|
||||
DATA_UPLOAD_MAX_NUMBER_FIELDS = 10000
|
||||
|
||||
# Application definition
|
||||
|
||||
INSTALLED_APPS = [
|
||||
|
|
Loading…
Reference in New Issue