debian-mirror-gitlab/lib/gitlab/markdown_cache.rb

17 lines
555 B
Ruby
Raw Normal View History

2019-09-04 21:01:54 +05:30
# frozen_string_literal: true
module Gitlab
module MarkdownCache
2021-06-08 01:23:25 +05:30
# Increment this number every time the renderer changes its output.
# Changing this value puts strain on the database, as every row with
# cached markdown needs to be updated. As a result, this line should
# not be changed.
# See: https://gitlab.com/gitlab-org/gitlab/-/issues/330313
2021-09-04 01:27:46 +05:30
CACHE_COMMONMARK_VERSION = 29
2019-09-04 21:01:54 +05:30
CACHE_COMMONMARK_VERSION_START = 10
BaseError = Class.new(StandardError)
UnsupportedClassError = Class.new(BaseError)
end
end