Commit Graph

20 Commits (584d8b977b3b8276da3c9035a3d16e61840fc0dc)

Author SHA1 Message Date
Yamagishi Kazutoshi 584d8b977b
Format JSON and YAML using Prettier (#17823)
* Format JSON and YAML using Prettier

* Add prettier to devDep
2 years ago
sasanquaneuf 21e80a9792
Escape database passwords in config/database.yml (#17627)
* Add double quotes for using passwords that start with a comma

* Escape database password in yml
2 years ago
Sascha 42e733681a config: add DB_SSLMODE for managed/remote PG (#10210)
* config: add DB_SSLMODE for managed/remote PG

* streaming: set PG sslmode, defaults to prefer
5 years ago
Eugen Rochko 32d7d61703
Remove PostgreSQL statement timeout (#9537)
Revert #9382
5 years ago
Eugen Rochko 58a29db99d
Add database statement timeout of 60s (#9382) 6 years ago
masarakki 0e0c6b1b4b use-DB_NAME-in-development (#5430) 7 years ago
amazedkoumei 436ce03772 fix unnecessary variable (#3947) 7 years ago
amazedkoumei 87efa38721 more free pgconfig by .env (#3909)
* more free pgconfig for streaming by .env

* fix wrong default values

* database.yml read ENV as same as streaming server
7 years ago
Keiji Matsuzaki 90c00f075a Added support parallel_tests (#2740)
- Added new gem the `parallel_tests`.
- Updated .travis.yml.
  - Improved scripts and environment variable.
7 years ago
Eugen d5a675099a Add env variable to disable prepared statements (#1293) 7 years ago
Eugen 4292cf60ae Fix env variable name 7 years ago
Eugen Rochko e7723ab662 Add puma preloading, decrease DB pool size to size of threads per worker 8 years ago
Eugen Rochko 6426819b6f Fix tests 8 years ago
Eugen Rochko 5764d52b04 Fix Sidekiq pooling issues. Remove API docs from homepage, replace with
a basic home timeline
8 years ago
Eugen Rochko bb98ee489d Up the number of pooled DB connections to cover both Sidekiq and Puma workers 8 years ago
Eugen Rochko 36f3da3cde Adjust down the number of Sidekiq threads to 5 (default of 25 is way too high) 8 years ago
Eugen Rochko e24bfbde1a Fixing FanOutOnWriteService, fixing Sidekiq not having enough DB connections
in the pool, adding a throttle of 60rpm per IP, adding mini profiler, adding
admin status to users
8 years ago
Eugen Rochko 48d66a2055 Fixing the docker container setup (with assets compilation &co) 8 years ago
Eugen Rochko b17202ca0f Adding a docker-compose template for running Mastodon easily 8 years ago
Eugen Rochko 9c4856bdb1 Initial commit 8 years ago