GitLab steht aufgrund eines wichtigen Updates heute, zwischen 18:00 und 19:00 Uhr, nicht zur Verfügung.

Fix error when reloading code in Sidekiq

This commit fixes the following error in development:

    ArgumentError: A copy of Gitlab::Metrics::Transaction has been
    removed from the module tree but is still active!
parent 5b23f2b0
......@@ -173,7 +173,7 @@ module TrackNewRedisConnections
def connect(*args)
val = super
if current_transaction = Gitlab::Metrics::Transaction.current
if current_transaction = ::Gitlab::Metrics::Transaction.current
current_transaction.increment(:new_redis_connections, 1)
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