Граф коммитов

35 Коммитов

Автор SHA1 Сообщение Дата
Tasos Katsoulas 7855060b6a Update gunicorn for AWS 2022-12-15 17:37:33 +02:00
Tasos Katsoulas d03f80881d Tune gunicorn defaults 2022-12-13 19:03:06 +02:00
Tasos Katsoulas 2c9f489870 Update wsgi config 2022-12-13 10:55:35 +02:00
Tasos Katsoulas 3ee7bdc2bb Set DB max conn to 0.
* Set number of greenlets to 5
2022-03-30 17:47:50 +03:00
Tasos Katsoulas 545a9519ff Fix typo. 2022-03-29 15:47:54 +03:00
Tasos Katsoulas 2a1c95e3f9 Add more params to wsgi config 2022-03-29 15:43:09 +03:00
Tasos Katsoulas 912d9ec4fd Drop threads option 2022-03-28 20:01:17 +03:00
Tasos Katsoulas 14a1b4f9e9 Add worker_connections option 2022-03-28 18:04:20 +03:00
Leo McArdle 6c3f2589c7
replace mysqlclient with pymysql (#5069)
switch back to gevent
2022-03-28 13:27:44 +01:00
Tasos Katsoulas 2b749b0f34 Pass timeout options to gunicorn 2022-03-24 20:11:26 +02:00
Tasos Katsoulas a977bcaae1
Switch to gthread 2022-03-24 15:54:49 +02:00
Tasos Katsoulas 8ca7d94aeb Remove thread option. 2022-03-22 19:51:32 +02:00
Tasos Katsoulas 1d86a3d7ce Whitenoise configuration.
* Upgrade to Whitenoise 5.3
* Remove S3 uploads for static assets
2022-03-10 15:08:21 +02:00
Tasos Katsoulas 2682b00d1b Bump python to 3.10
* Switch to gevent from Meinheld
2022-03-10 15:02:39 +02:00
Ben Spaulding ab4aadc1fa Update newrelic integration call
mozilla/sumo-project#136
2020-05-29 16:44:36 +03:00
Ben Spaulding 7a9979b781 Remove django-celery dependency
It is not Django 2.2 compatible, and it is not needed by celery
any more anyway.

mozilla/sumo-project#136
2020-05-29 16:29:53 +03:00
Ben Spaulding 08d98d2b81 2to3 basestring, import numliterals and raise fix. 2020-05-27 15:27:38 +03:00
Josh Mize c438a76e3f
Import NR agent first in wsgi/app.py (#3606) 2019-05-07 12:38:50 -05:00
Vaishnavi Pamulapati f38df8db71 Migrate from raven to sentry-sdk
Fix #3393
2018-11-05 11:08:18 -05:00
Giorgos Logiotatidis 784ae86ec9 Send access log to stdout. 2018-03-22 09:04:55 -05:00
Paul McLanahan 7768ca6df3 Setup Django's SecurityMiddleware (#3055)
* Exempt /healthz and /readiness URLs from HTTPS redirect
* Remove WSGI HTTPS=on hack
* Remove old commonware security middlewares
2018-02-14 04:19:54 -06:00
Paul McLanahan 8d6b604822 Hack around no longer getting x-forwarded-proto headers
In some prod clusters we can assume that it's always HTTPS,
so we get that from the environment.

Also rearrange some code and imports.
2017-11-30 09:45:48 -05:00
Giorgos Logiotatidis a99ce13565 Add option to serve files with WhiteNoise. Fix #2938. 2017-11-27 10:29:42 -05:00
Giorgos Logiotatidis 2ec8f12254 Add gunicorn and meinheld worker. Fixes #2939. 2017-11-27 10:05:13 -05:00
Ricky Rosario 226331e36c [bug 1121588] Update django 1.7.7 2015-04-27 08:55:16 -04:00
dean 6c975ae589 [bug 1035319] Updated travis and deploy scripts. 2014-09-18 14:55:20 -07:00
Ricky Rosario c2348e14ac Move lib/ to kitsune/lib 2013-06-06 11:22:30 -04:00
Ricky Rosario 3030c9ceae Fix newrelic wsgi stuff. 2013-05-13 16:10:44 -04:00
Ricky Rosario b79c5d12a4 Add missing newrelic piece: wrap the application in it. 2013-04-30 15:41:33 -04:00
Ricky Rosario 1e68ea979e Add newrelic stuff to wsgi file. 2013-04-30 13:35:14 -04:00
James Socol fca08430f3 [bug 578067] Upgrade to celery 2 2010-09-14 13:52:38 -04:00
James Socol 39ad6fefbb [bug 595370] Add the server name to the wsgi environment. 2010-09-10 18:58:44 -04:00
James Socol ccca0cb1a6 [Bug 567960] Add vendor library. 2010-08-24 18:42:27 -04:00
James Socol dbfc4488fc New wsgi script. 2010-05-04 11:06:42 -07:00
James Socol 8d38c7b8ce Adding the wsgi script 2010-03-23 11:07:03 -07:00