Log duration for various methods in AuthorizedProjectsWorker
All threads resolved!
All threads resolved!
Compare changes
Files
2- Hinam Mehra authored
@@ -24,6 +24,9 @@ def initialize(user, source: nil, incorrect_auth_found_callback: nil, missing_au
@@ -24,6 +24,9 @@ def initialize(user, source: nil, incorrect_auth_found_callback: nil, missing_au
@@ -37,6 +40,8 @@ def execute
@@ -37,6 +40,8 @@ def execute
@@ -57,6 +62,8 @@ def execute_without_lease
@@ -57,6 +62,8 @@ def execute_without_lease
@@ -65,8 +72,6 @@ def execute_without_lease
@@ -65,8 +72,6 @@ def execute_without_lease
# add - Rows to insert in the form `[{ user_id: user_id, project_id: project_id, access_level: access_level}, ...]`
@@ -74,6 +79,10 @@ def update_authorizations(remove = [], add = [])
@@ -74,6 +79,10 @@ def update_authorizations(remove = [], add = [])
@@ -93,8 +102,22 @@ def log_refresh_details(remove, add)
@@ -93,8 +102,22 @@ def log_refresh_details(remove, add)