nickva commented on code in PR #6013:
URL: https://github.com/apache/couchdb/pull/6013#discussion_r3784901487
##########
src/couch_replicator/include/couch_replicator_api_wrap.hrl:
##########
@@ -10,23 +10,29 @@
% License for the specific language governing permissions and limitations under
% the License.
-
-define(COUCH_REPLICATOR_USER_AGENT, "CouchDB-Replicator/" ++
couch_server:get_version()).
+-define(COMPRESS_NONE, "none").
+-define(COMPRESS_GZIP, "gzip").
+-define(COMPRESS_MIN_SIZE, 1024).
+
-record(httpdb, {
url,
auth_props = [],
headers = [
{"Accept", "application/json"},
{"User-Agent", ?COUCH_REPLICATOR_USER_AGENT}
],
- timeout, % milliseconds
+ % milliseconds
+ timeout,
Review Comment:
agree, I could see reformatting only if erlfmt insists on it and then if
it's too ugly we can still force it to ignore it with a directive
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]