https://bugzilla.wikimedia.org/show_bug.cgi?id=26179

--- Comment #10 from Neil Kandalgaonkar <[email protected]> 2011-03-22 
07:28:16 UTC ---
Well, every client-side technique I've tried to space out or otherwise
'quantize' API calls doesn't work well enough, or is itself subject to local
race conditions. The API caller-thing would have to be in its own thread for
this to be bulletproof.

I can space things out so every API call is 2,3,4, even 5 seconds apart, which
seems to do the trick. But that just means that 5 files are unbearably long to
upload. Almost worse than doing them serially.

Seems that the simplest way to solve this is to really solve the race condition
on the database end. Was not all that hard to get something halfway working
although I have to consider whether I want to db backend to look like the stash
format, or like the image tables. Adding a new table is more controversial,
though I know some core committers are on board with the idea.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to