From 656afa5a6d983d64f8bbe3b3a99d84d7087b5ef3 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Fri, 12 Nov 2021 11:40:01 -0500 Subject: [PATCH] give the client-side slot_testv_and_readv_and_writev an eliot action --- src/_zkapauthorizer/_storage_client.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/_zkapauthorizer/_storage_client.py b/src/_zkapauthorizer/_storage_client.py index 3ae3590..21e2fed 100644 --- a/src/_zkapauthorizer/_storage_client.py +++ b/src/_zkapauthorizer/_storage_client.py @@ -26,6 +26,7 @@ from functools import partial, wraps import attr from allmydata.interfaces import IStorageServer +from allmydata.util.eliotutil import log_call_deferred from attr.validators import provides from eliot.twisted import inline_callbacks from twisted.internet.defer import returnValue @@ -411,6 +412,7 @@ class ZKAPAuthorizerStorageClient(object): reason, ) + @log_call_deferred("zkapauthorizer:storage-client:slot_testv_and_readv_and_writev") @inline_callbacks @with_rref def slot_testv_and_readv_and_writev( -- GitLab