2013-12-23 19:58:44 +01:00
|
|
|
HOST = 'localhost'
|
|
|
|
PORT = '8000'
|
2014-03-26 13:31:57 +01:00
|
|
|
WSGI_SERVER = 'wsgiref'
|
|
|
|
WSGI_SERVER_OPTIONS = {}
|
2014-03-27 16:31:22 +01:00
|
|
|
### Beware: we use global objects (the processqueue); you can't use
|
|
|
|
### worker_class=sync in gunicorn, and probably other similar deployment won't
|
|
|
|
### work
|
|
|
|
### A dirty check is:
|
|
|
|
### * go to /old.html
|
|
|
|
### * create something
|
|
|
|
### * go to /api/jobs
|
|
|
|
### * refresh a lot and see if the result is always the same
|
|
|
|
#WSGI_SERVER = 'gunicorn'
|
|
|
|
#WSGI_SERVER_OPTIONS = {'workers': 4, 'worker_class': 'eventlet' }
|
2014-03-26 13:31:57 +01:00
|
|
|
|
2013-12-23 19:58:44 +01:00
|
|
|
DEBUG = True
|
|
|
|
DB_URI = 'sqlite:///techrec.db'
|
|
|
|
AUDIO_OUTPUT = 'output/'
|
|
|
|
AUDIO_INPUT = 'rec/'
|
2014-02-21 18:42:25 +01:00
|
|
|
AUDIO_INPUT_FORMAT = '%Y-%m/%d/rec-%Y-%m-%d-%H-%M-%S.mp3'
|
2014-02-24 15:20:45 +01:00
|
|
|
AUDIO_OUTPUT_FORMAT = 'techrec-%(time)s-%(name)s.mp3'
|
2013-12-23 19:58:44 +01:00
|
|
|
FORGE_TIMEOUT = 20
|
2013-12-23 22:34:24 +01:00
|
|
|
FORGE_MAX_DURATION = 3600*5
|
2014-03-02 01:17:35 +01:00
|
|
|
FFMPEG_OPTIONS = ['-loglevel', 'warning', '-n']
|