summaryrefslogtreecommitdiff
path: root/server/config.yaml.dist
diff options
context:
space:
mode:
authorShyam Sunder <sgsunder1@gmail.com>2020-03-07 20:43:20 -0500
committerShyam Sunder <sgsunder1@gmail.com>2020-03-13 22:45:11 -0400
commit4c78cf8c4792e3eba8508f607bc3a4544d1f666f (patch)
treef77d25449a7a28494c54093b9d308dce4c357cc6 /server/config.yaml.dist
parenta616cf69871585559c953ae9f45979e88b7b43c8 (diff)
server/image_search: implement reverse search functionality in postgres
This will remove the dependency on the Elasticsearch database. The search query is passed currently as raw SQL. Proper implementation using SQLAlchemy will need custom ORM classed to be made. Additional config parameter "allow_broken_uploads" has been added.
Diffstat (limited to 'server/config.yaml.dist')
-rw-r--r--server/config.yaml.dist4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/config.yaml.dist b/server/config.yaml.dist
index 236630d..47fd89a 100644
--- a/server/config.yaml.dist
+++ b/server/config.yaml.dist
@@ -21,11 +21,15 @@ thumbnails:
post_width: 300
post_height: 300
+# automatically convert animated GIF uploads to video formats
convert:
gif:
to_webm: false
to_mp4: false
+# allow posts to be uploaded even if some image processing errors occur
+allow_broken_uploads: false
+
# used to send password reset e-mails
smtp:
host: # example: localhost