This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-API] [PATCH] remove a debug change left in by accident

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH] remove a debug change left in by accident
From: David Scott <dave.scott@xxxxxxxxxxxxx>
Date: Wed, 17 Mar 2010 17:03:16 +0000
Delivery-date: Wed, 17 Mar 2010 09:54:32 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User David Scott <dave.scott@xxxxxxxxxxxxx>
# Date 1268845370 0
# Node ID 0499cdf381f9c1146d4d3640204a7e264d700730
# Parent  178a3a5bd3122aa48f78a4636c99b1b8792d74bf
CA-36448: remove a sleep(30) I accidentally added (!)

Signed-off-by: David Scott <dave.scott@xxxxxxxxxxxxx>

diff -r 178a3a5bd312 -r 0499cdf381f9 ocaml/xapi/xapi_vm_clone.ml
--- a/ocaml/xapi/xapi_vm_clone.ml       Wed Mar 17 15:33:01 2010 +0000
+++ b/ocaml/xapi/xapi_vm_clone.ml       Wed Mar 17 17:02:50 2010 +0000
@@ -126,8 +126,6 @@
                (fun vbd -> try (vbd,Db.VDI.get_virtual_size ~__context 
                        ~self:(Db.VBD.get_VDI ~__context ~self:vbd)) with _ -> 
(vbd,0L)) vbds in
        let total = Int64.to_float (List.fold_left (fun tot (_,size) -> 
Int64.add tot size) 0L sizes) in
-       Thread.delay 30.;
        let fold_function (acc,done_so_far) (vbd,size) =
1 file changed, 2 deletions(-)
ocaml/xapi/xapi_vm_clone.ml |    2 --

Attachment: xen-api.hg.patch
Description: Text Data

xen-api mailing list
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-API] [PATCH] remove a debug change left in by accident, David Scott <=