mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-03 00:15:20 +00:00
perf: 修改命令command input 长度问题 (#7996)
* perf: 修改命令command input max_length 1024 * perf: 修改命令command input 长度问题 * perf: 修改命令command input 长度问题 * perf: 修改命令command input 长度问题 * perf: 修改命令command input 长度问题 Co-authored-by: Jiangjie.Bai <bugatti_it@163.com>
This commit is contained in:
10
utils/generate_fake_data/resources/terminal.py
Normal file
10
utils/generate_fake_data/resources/terminal.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from .base import FakeDataGenerator
|
||||
from terminal.models import Command
|
||||
|
||||
|
||||
class CommandGenerator(FakeDataGenerator):
|
||||
resource = 'command'
|
||||
|
||||
def do_generate(self, batch, batch_size):
|
||||
Command.generate_fake(len(batch), self.org)
|
||||
|
Reference in New Issue
Block a user