mirror of
https://github.com/manyfold3d/manyfold.git
synced 2026-10-23 12:12:21 -05:00
6 lines
209 B
Ruby
6 lines
209 B
Ruby
connection = ActiveRecord::Base.connection
|
|
if connection&.is_a? ActiveRecord::ConnectionAdapters::SQLite3Adapter
|
|
# Set temp_store to use memory, not disk
|
|
connection.execute "PRAGMA temp_store=MEMORY;"
|
|
end
|