diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2020-10-28 14:07:14 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2020-10-28 14:07:14 +0100 |
commit | 1eb86e46fdfaed73d240b3e47b6fe9a36179b3a5 (patch) | |
tree | bcff9ec748b5d29c8cc8355dc5d4723cfcb141d8 /lib/public/WorkflowEngine | |
parent | 25f347a49a4ccbe8903de05c9e56d5d0940faf92 (diff) | |
download | nextcloud-server-1eb86e46fdfaed73d240b3e47b6fe9a36179b3a5.tar.gz nextcloud-server-1eb86e46fdfaed73d240b3e47b6fe9a36179b3a5.zip |
inform the user when flow config data exceeds thresholds
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib/public/WorkflowEngine')
-rw-r--r-- | lib/public/WorkflowEngine/IManager.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/WorkflowEngine/IManager.php b/lib/public/WorkflowEngine/IManager.php index a1c8833bef3..df8c276bbcd 100644 --- a/lib/public/WorkflowEngine/IManager.php +++ b/lib/public/WorkflowEngine/IManager.php @@ -36,6 +36,16 @@ interface IManager { public const SCOPE_USER = 1; /** + * @since 21.0.0 + */ + public const MAX_CHECK_VALUE_BYTES = 2048; + + /** + * @since 21.0.0 + */ + public const MAX_OPERATION_VALUE_BYTES = 4096; + + /** * @depreacted Will be removed in NC19. Use the dedicated events in OCP\WorkflowEngine\Events */ public const EVENT_NAME_REG_OPERATION = 'OCP\WorkflowEngine::registerOperations'; |