diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-04 06:11:50 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-04 06:11:50 +0300 |
commit | 6e92fea02d2f57643cee95b404595f6be64fa8df (patch) | |
tree | d2a409b5c651d13eadce8a417e88240e94d32db1 /app/assets/javascripts/tracking/constants.js | |
parent | 04b866f03b967470e20d5dd106fd493bebe40909 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/tracking/constants.js')
-rw-r--r-- | app/assets/javascripts/tracking/constants.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/assets/javascripts/tracking/constants.js b/app/assets/javascripts/tracking/constants.js index 46278152879..bc416b20e80 100644 --- a/app/assets/javascripts/tracking/constants.js +++ b/app/assets/javascripts/tracking/constants.js @@ -1,5 +1,7 @@ export const SNOWPLOW_JS_SOURCE = 'gitlab-javascript'; +export const MAX_LOCAL_STORAGE_QUEUE_SIZE = 100; + export const DEFAULT_SNOWPLOW_OPTIONS = { namespace: 'gl', hostname: window.location.hostname, @@ -15,6 +17,7 @@ export const DEFAULT_SNOWPLOW_OPTIONS = { forms: { allow: [] }, fields: { allow: [] }, }, + maxLocalStorageQueueSize: MAX_LOCAL_STORAGE_QUEUE_SIZE, }; export const ACTION_ATTR_SELECTOR = '[data-track-action]'; |