Commit 7e7c72e4 authored by Nick Thomas's avatar Nick Thomas

Merge branch 'es-track-encode-items' into 'master'

ProcessBookkeepingService encode logged items for ES ingestion

See merge request gitlab-org/gitlab!27760
parents 6ba086fa 9a3a32bc
...@@ -20,7 +20,7 @@ module Elastic ...@@ -20,7 +20,7 @@ module Elastic
min = (max - items.size) + 1 min = (max - items.size) + 1
(min..max).zip(items).each_slice(1000) do |group| (min..max).zip(items).each_slice(1000) do |group|
logger.debug(message: 'track_items', count: group.count, items: group) logger.debug(message: 'track_items', count: group.count, tracked_items_encoded: group.to_json)
redis.zadd(REDIS_SET_KEY, group) redis.zadd(REDIS_SET_KEY, group)
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment