diff options
author | blizzz <blizzz@arthur-schiwon.de> | 2020-11-11 16:00:27 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-11 16:00:27 +0300 |
commit | 318fcde5fa1135eeecf681b09529c78405fe3603 (patch) | |
tree | 6216f696e7c4abf5bd6ae696975db08bc6ba8b3a /lib | |
parent | 9650ec1a6ed16e4a2c4ed37b9252c166f319101a (diff) | |
parent | 793a52dd1413eac19fc299c153824700add26cdf (diff) |
Merge pull request #23761 from nextcloud/backport/23752/stable18
[stable18] inform the user when flow config data exceeds thresholds
Diffstat (limited to 'lib')
-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 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'; |