From c3c7944d79cd9ff7f5068fc854687deb342ffda8 Mon Sep 17 00:00:00 2001
From: Rebecca Turner <637275@gmail.com>
Date: Thu, 29 Mar 2018 05:48:53 -0400
Subject: [PATCH] conf: default to disabling federated avatar lookup (#5126)

It's a fun feature but `ENABLE_FEDERATED_AVATAR` being true by default
leads to confusion and huge slowdowns (see #2838, #980, #914) --- it's
unexpected that Gogs requires DNS configured (?) for avatars.

Avatar lookup is a niche feature that I don't believe should be enabled
by default given how prone it is to causing problems.
---
 conf/app.ini | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/conf/app.ini b/conf/app.ini
index bcba00560..2bf481238 100644
--- a/conf/app.ini
+++ b/conf/app.ini
@@ -292,7 +292,7 @@ DISABLE_GRAVATAR = false
 ; Federated avatar lookup uses DNS to discover avatar associated
 ; with emails, see https://www.libravatar.org
 ; This value will be forced to be false in offline mode or Gravatar is disbaled.
-ENABLE_FEDERATED_AVATAR = true
+ENABLE_FEDERATED_AVATAR = false
 
 ; Attachment settings for issues
 [attachment]