Commit Graph

7 Commits

Author SHA1 Message Date
evazion
13f26c81d8 Remove unused files. 2019-11-15 23:59:56 -06:00
evazion
2c6567b5d2 Remove uses of the read replica database.
https://danbooru.donmai.us/forum_topics/9127?page=283#forum_post_160508

There was a recent outage that was caused by the read replica
(yukinoshita.donmai.us) being temporarily unavailable. The pg driver in
rails got hardstuck trying to connect to the replica, which brought down
the whole site. The app servers stopped responding and could only be
brought down with SIGKILL. Even try to boot the rails console didn't
work.

We only really used this to calculate tag counts inside Post.fast_count,
which wasn't really beneficial since the read replica is slower than the
main database.
2019-10-22 12:15:46 -05:00
evazion
74bbd45cdf dotenv: enable overriding database settings. 2017-01-23 18:07:52 -06:00
Albert Yi
08e0480a62 include archive databases in yml 2016-12-27 13:54:59 -08:00
r888888888
9d3d7abedc add support for read only post queries 2016-01-25 16:40:23 -08:00
albert
08cfb3d637 upgraded jquery, restyled post wiki excerpts 2012-01-13 17:40:01 -05:00
albert
476f210615 deploy script fixes 2011-08-29 16:54:39 -04:00