set development version based on environment variable

This commit is contained in:
Job Evers-Meltzer 2016-09-29 15:24:17 -07:00
parent d0a82c68df
commit 66e139c566

View file

@ -4,7 +4,8 @@ Some network wide and also application specific parameters
import os
is_generous_host = True
IS_DEVELOPMENT_VERSION = False
IS_DEVELOPMENT_VERSION = (os.environ.get('LBRY_DEV') is not None)
MAX_HANDSHAKE_SIZE = 2**16
MAX_REQUEST_SIZE = 2**16