[Ovirt-devel] re: got it!

Hugh O. Brock hbrock at redhat.com
Tue Jul 29 15:38:56 UTC 2008


On Tue, Jul 29, 2008 at 10:19:06AM -0500, Steve Linabery wrote:
> Pursuant to my previous email with same subject line...
> 
> Here's a bit of follow-up information.
> 
> The
>          0.upto(@pool.hosts.total_memory) { |x| 
> 	        if x % 1024 == 0
>             	scale.push((x / 1024).to_s) # divide by 1024 to convert to MB
> 		    end
>          }
> 
> block eventually completes, after several minutes, before which the request times out.
> 
> On my setup, @pool.hosts.total_memory is 522555392.
> 
> There's no infinite loop.

wtf??

oh, wow, that is a really really dumb loop...

/me looks for halibut for mmorsi

--H




More information about the ovirt-devel mailing list