Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2020-10-28 16:07:14 +0300
committerArthur Schiwon <blizzz@arthur-schiwon.de>2020-11-09 20:15:02 +0300
commit793a52dd1413eac19fc299c153824700add26cdf (patch)
treeb4ef0f8875caacc3f7b172e2c1c88312faff404a /lib
parentc6abcfbbfa658977b70e9a36d2dc3e8931829767 (diff)
inform the user when flow config data exceeds thresholds
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/public/WorkflowEngine/IManager.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/WorkflowEngine/IManager.php b/lib/public/WorkflowEngine/IManager.php
index 490467663ae..5956228ce7e 100644
--- a/lib/public/WorkflowEngine/IManager.php
+++ b/lib/public/WorkflowEngine/IManager.php
@@ -35,6 +35,16 @@ interface IManager {
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
*/
const EVENT_NAME_REG_OPERATION = 'OCP\WorkflowEngine::registerOperations';