X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/c26ab6ee15974c1133a6d08c459b51199185f25f..dec2b6f06be97c498010e0b3af0d27f27631142d:/wolnelektury/settings/custom.py diff --git a/wolnelektury/settings/custom.py b/wolnelektury/settings/custom.py index 3031f4ed8..9abb5edd3 100644 --- a/wolnelektury/settings/custom.py +++ b/wolnelektury/settings/custom.py @@ -21,3 +21,13 @@ ALL_MOBI_ZIP = 'wolnelektury_pl_mobi' CATALOGUE_DEFAULT_LANGUAGE = 'pol' PUBLISH_PLAN_FEED = 'http://redakcja.wolnelektury.pl/documents/track/editor-proofreading/?published=false' + +# limit rate for ebooks creation +CATALOGUE_PDF_RATE_LIMIT = '1/m' +CATALOGUE_EPUB_RATE_LIMIT = '6/m' +CATALOGUE_MOBI_RATE_LIMIT = '5/m' +CATALOGUE_CUSTOMPDF_RATE_LIMIT = '1/m' + +# set to 'new' or 'old' to skip time-consuming test +# for TeX morefloats library version +LIBRARIAN_PDF_MOREFLOATS = None