Hi *,

On Thu, Apr 7, 2011 at 10:16 PM, Rimas Kudelis <r...@akl.lt> wrote:
> 2011.04.07 20:38, Christian Lohmaier rašė:
>>
>> Thus especially to Friedel and Dwayne and Rimas: Is there a problem with
>> adding
>>
>> WSGIDaemonProcess pootle-export threads=3 stack-size=1048576
>> maximum-requests=5 inactivity-timeout=1200 display-name=%{GROUP}
>>
>> <Location /*/*/export/zip>
>>     WSGIProcessGroup pootle-export
>> </Location>
> [...]
> I like the idea, but I'll leave it to Friedel and Dwayne to judge if it's
> problematic or not.

As there has been no reply, I just did add that (with LocationMatch
instead of Location, as it's not just lang/project/export/zip, but
<variable-length>/export/zip) and also limited the number of
concurrent export jobs to 1, (otherwise requesting zips for the same
language and project would consume ~twice the amount of time - if the
user waits until first processing is finished, and then requests the
other zip, the user will get that second zip instantly.

There don't seem to be any drawbacks, so that's the way to go - this
way regular translation will not be blocked/affected by the exporting
blocking all available worker slots or all RAM or all CPU

ciao
Christian

-- 
Unsubscribe instructions: E-mail to l10n+h...@libreoffice.org
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/www/l10n/
All messages sent to this list will be publicly archived and cannot be deleted

Reply via email to