Yurii Paniv commited on
Commit
e5a6cc7
1 Parent(s): d2ca438

Change app config

Browse files
Files changed (2) hide show
  1. app.ini +1 -1
  2. main.py +0 -1
app.ini CHANGED
@@ -2,7 +2,7 @@
2
  wsgi-file = main.py
3
  callable = app
4
  http = :5000
5
- processes = 2
6
  master = true
7
  vacuum = true
8
  die-on-term = true
 
2
  wsgi-file = main.py
3
  callable = app
4
  http = :5000
5
+ processes = 1
6
  master = true
7
  vacuum = true
8
  die-on-term = true
main.py CHANGED
@@ -25,7 +25,6 @@ FIRST_STEP = '''Використовувати бота просто: надіш
25
 
26
  bot = telebot.TeleBot(TOKEN, parse_mode=None)
27
  app = Flask(__name__,)
28
- app.config['MAX_CONTENT_LENGTH'] = 120 * 1024
29
 
30
 
31
  @app.route('/')
 
25
 
26
  bot = telebot.TeleBot(TOKEN, parse_mode=None)
27
  app = Flask(__name__,)
 
28
 
29
 
30
  @app.route('/')