From b5cd94f20b3c7ddbf7279773bf5929e1a6746535 Mon Sep 17 00:00:00 2001 From: Alex Dusenbery Date: Fri, 9 Feb 2024 14:49:20 -0500 Subject: [PATCH] no merge: test commit to check on unit tests via github actions --- enterprise_access/apps/api/v1/views/subsidy_access_policy.py | 1 + 1 file changed, 1 insertion(+) diff --git a/enterprise_access/apps/api/v1/views/subsidy_access_policy.py b/enterprise_access/apps/api/v1/views/subsidy_access_policy.py index cc655211..93b4eed9 100644 --- a/enterprise_access/apps/api/v1/views/subsidy_access_policy.py +++ b/enterprise_access/apps/api/v1/views/subsidy_access_policy.py @@ -836,6 +836,7 @@ def allocate(self, request, *args, **kwargs): # we may not have hit the `if` block, so just get a time on the # entire policy lock context. We can infer the difference between # that value and `serialization_time` if the latter is available in logs. + # this is fine lock_release_time = time.process_time() - start_time logger.info('allocate timing: policy lock release %s', lock_release_time) except SubsidyAccessPolicyLockAttemptFailed as exc: