store: Account for 'add-to-store' in RPC statistics.
* guix/store.scm (add-to-store): Add call to 'record-operation'.
This commit is contained in:
parent
b612e54f17
commit
0ca3d55686
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue