couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vatam...@apache.org
Subject [couchdb] 02/02: [fixup] saying no to visual indents in scheduler
Date Sun, 09 Apr 2017 04:46:00 GMT
This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a commit to branch 63012-scheduler
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit a3a99e101b6b5826cb460d9c3deab7e7c1773692
Author: Nick Vatamaniuc <vatamane@apache.org>
AuthorDate: Sun Apr 9 00:45:54 2017 -0400

    [fixup] saying no to visual indents in scheduler
---
 src/couch_replicator/src/couch_replicator_scheduler.erl | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/couch_replicator/src/couch_replicator_scheduler.erl b/src/couch_replicator/src/couch_replicator_scheduler.erl
index 44b1817..ec2aa47 100644
--- a/src/couch_replicator/src/couch_replicator_scheduler.erl
+++ b/src/couch_replicator/src/couch_replicator_scheduler.erl
@@ -261,9 +261,11 @@ terminate(_Reason, _State) ->
 
 
 format_status(_Opt, [_PDict, State]) ->
-    [{max_jobs, State#state.max_jobs},
-     {running_jobs, running_job_count()},
-     {pending_jobs, pending_job_count()}].
+    [
+         {max_jobs, State#state.max_jobs},
+         {running_jobs, running_job_count()},
+         {pending_jobs, pending_job_count()}
+    ].
 
 
 %% config listener functions

-- 
To stop receiving notification emails like this one, please contact
"commits@couchdb.apache.org" <commits@couchdb.apache.org>.

Mime
View raw message