mirror of
https://github.com/manyfold3d/manyfold.git
synced 2026-10-21 11:12:27 -05:00
7 lines
190 B
Ruby
7 lines
190 B
Ruby
if DatabaseDetector.is_sqlite?
|
|
ActiveRecord::Base.with_connection do |connection|
|
|
# Set temp_store to use memory, not disk
|
|
connection.execute "PRAGMA temp_store=MEMORY;"
|
|
end
|
|
end
|