discourse/config/environments
Alan Guo Xiang Tan 18d652c8f0
DEV: Create unlogged tables by default in the test environment (#25451)
Why this change?

In https://www.postgresql.org/docs/current/non-durability.html, it is
recommended to create unlogged tables to avoid WAL writes which can help
speed at performance at the expense of durability. In the CI env, there is no need for durability at all.
Therefore, we are going to be creating unlogged tables by default.

Co-authored-by: Ted Johansson <ted@discourse.org>
Co-authored-by: Rafael dos Santos Silva <xfalcox@gmail.com>
2024-01-29 09:57:58 +08:00
..
development.rb DEV: Check Zeitwerk eager loading in GitHub CI (#20699) 2023-03-16 14:22:16 +00:00
production.rb PERF: Strict loading for SidebarSection queries (#21717) 2023-05-25 09:10:32 +08:00
profile.rb DEV: Apply syntax_tree formatting to `config/*` 2023-01-09 11:13:29 +00:00
test.rb DEV: Create unlogged tables by default in the test environment (#25451) 2024-01-29 09:57:58 +08:00