diff options
author | Chocobozzz <me@florianbigard.com> | 2022-07-15 15:30:14 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-07-18 11:37:18 +0200 |
commit | 42b40636991b97fe818007fab19091764fc5db73 (patch) | |
tree | db431787c06ce898d22e91ff771f795219274fc6 /server/initializers/constants.ts | |
parent | 654d4ede7fa4d0faa71e49bcfab6b65a686397b2 (diff) | |
download | PeerTube-42b40636991b97fe818007fab19091764fc5db73.tar.gz PeerTube-42b40636991b97fe818007fab19091764fc5db73.tar.zst PeerTube-42b40636991b97fe818007fab19091764fc5db73.zip |
Add ability for client to create server logs
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r-- | server/initializers/constants.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 009f878fc..8cb4d5f4a 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -365,6 +365,12 @@ const CONSTRAINTS_FIELDS = { | |||
365 | VIDEO_STUDIO: { | 365 | VIDEO_STUDIO: { |
366 | TASKS: { min: 1, max: 10 }, // Number of tasks | 366 | TASKS: { min: 1, max: 10 }, // Number of tasks |
367 | CUT_TIME: { min: 0 } // Value | 367 | CUT_TIME: { min: 0 } // Value |
368 | }, | ||
369 | LOGS: { | ||
370 | CLIENT_MESSAGE: { min: 1, max: 1000 }, // Length | ||
371 | CLIENT_STACK_TRACE: { min: 1, max: 5000 }, // Length | ||
372 | CLIENT_META: { min: 1, max: 5000 }, // Length | ||
373 | CLIENT_USER_AGENT: { min: 1, max: 200 } // Length | ||
368 | } | 374 | } |
369 | } | 375 | } |
370 | 376 | ||