mirror of
https://github.com/discourse/discourse.git
synced 2024-12-16 22:43:41 +08:00
bb54eb1192
* store time it took to index message in DB (to find performance issues) * ignore listserv specific files * better examples for split_regex * first email in mbox shouldn't contain the split string * always lock the DB in exclusive mode * save email within transaction * messages can be grouped by subject and use original order (for Listserv) * adds option to index emails without running the import
19 lines
362 B
YAML
19 lines
362 B
YAML
data_dir: /shared/import/data
|
|
|
|
# mbox files
|
|
split_regex: "^From .+"
|
|
#split_regex: "^From .+@example.com.+"
|
|
|
|
# individual emails
|
|
#split_regex: ""
|
|
|
|
# Listserv files
|
|
#split_regex: "^========================================================================="
|
|
|
|
default_trust_level: 1
|
|
prefer_html: false
|
|
staged: true
|
|
index_only: false
|
|
|
|
group_messages_by_subject: false
|