mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 16:21:18 +08:00
Improvements to the experimental mbox importer
* Disable journaling to improve performance in Docker * Use the email cooking method * Store IncomingEmail in order find related posts by Message-ID * Escape HTML in imported messages
This commit is contained in:
@ -163,7 +163,7 @@ module ImportScripts::Mbox
|
||||
private
|
||||
|
||||
def configure_database
|
||||
@db.execute 'PRAGMA journal_mode = TRUNCATE'
|
||||
@db.execute 'PRAGMA journal_mode = OFF'
|
||||
end
|
||||
|
||||
def upgrade_schema_version
|
||||
|
Reference in New Issue
Block a user