1 # This file is part of Wolne Lektury, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
4 from os.path import abspath, join
5 from django.conf import settings
8 WAITER_ROOT = abspath(settings.WAITER_ROOT)
10 WAITER_ROOT = abspath(join(settings.MEDIA_ROOT, 'waiter'))
13 WAITER_URL = settings.WAITER_URL
14 except AttributeError:
15 WAITER_URL = join(settings.MEDIA_URL, 'waiter')
18 WAITER_MAX_QUEUE = settings.WAITER_MAX_QUEUE
19 except AttributeError: