Closed (fixed)
Project:
Localization server
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
11 Dec 2012 at 10:13 UTC
Updated:
12 Oct 2013 at 15:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
gábor hojtsyLook at the code, if goal is 5 but 2 have errors, then it would go back and query yet another 5 releases, all of which it would parse, so it would parse 8 instead of 5, no?
Also I guess the real disturbing problem is that it takes 400M memory to look up 4 releases in the first place. Don't really know if this is due to them 404-ing but that seems unlikely.
Comment #2
SebCorbin commentedYup, I didn't read the db_query_range doc, modified parameters and indentation.
Also looked up through the code, there's no sense in taking so much memory...
Comment #3
gábor hojtsyThis looks like would go to an infinite loop at the end of the queue. It would try to query for new releases and be unsuccessful with it.
Comment #4
SebCorbin commentedIt's really annoying not being able to test this locally :(
Comment #5
gábor hojtsyThat looks good to me now.
Comment #6
SebCorbin commentedPushed in 6.x-3.x, build is launched to pull changes in ldo
Comment #8
s_leu commentedThis hasn't been ported to 7.x-1.x yet.
Comment #9
s_leu commentedReroll of the patch for 7.x-1.x
Comment #10
berdir$success is missing the increment.
$offset doesn't exist in the patches above but has been introduced in a later commit:
Comment #11
s_leu commentedfixed that missing incrementation for $success
Comment #12
SebCorbin commentedCommitted, thanks!