[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/03: store: Account for 'add-to-store' in RPC statistics.
From: |
Ludovic Courtès |
Subject: |
01/03: store: Account for 'add-to-store' in RPC statistics. |
Date: |
Mon, 10 Jul 2017 18:49:29 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 0ca3d5568676937d65674415d292820668fce6a7
Author: Ludovic Courtès <address@hidden>
Date: Mon Jul 10 16:56:19 2017 +0200
store: Account for 'add-to-store' in RPC statistics.
* guix/store.scm (add-to-store): Add call to 'record-operation'.
---
guix/store.scm | 1 +
1 file changed, 1 insertion(+)
diff --git a/guix/store.scm b/guix/store.scm
index a207d47..b15da54 100644
--- a/guix/store.scm
+++ b/guix/store.scm
@@ -897,6 +897,7 @@ path."
#:key (select? true))
;; We don't use the 'operation' macro so we can pass SELECT? to
;; 'write-file'.
+ (record-operation 'add-to-store)
(let ((port (nix-server-socket server)))
(write-int (operation-id add-to-store) port)
(write-string basename port)