You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2017/04/09 04:45:58 UTC

[couchdb] branch 63012-scheduler updated (6679558 -> a3a99e1)

This is an automated email from the ASF dual-hosted git repository.

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

      from  6679558   [fixup] remove import from _replicator_ids
       new  b9f309c   [fixup] closing bracked on its own line in scheduler
       new  a3a99e1   [fixup] saying no to visual indents in scheduler

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/couch_replicator/src/couch_replicator_scheduler.erl | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

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

[couchdb] 02/02: [fixup] saying no to visual indents in scheduler

Posted by va...@apache.org.
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 <va...@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" <co...@couchdb.apache.org>.

[couchdb] 01/02: [fixup] closing bracked on its own line in scheduler

Posted by va...@apache.org.
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 b9f309cea5615acb753ae53da85f5836e96a9c8b
Author: Nick Vatamaniuc <va...@apache.org>
AuthorDate: Sun Apr 9 00:43:42 2017 -0400

    [fixup] closing bracked on its own line in scheduler
---
 src/couch_replicator/src/couch_replicator_scheduler.erl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/couch_replicator/src/couch_replicator_scheduler.erl b/src/couch_replicator/src/couch_replicator_scheduler.erl
index 8d7ea42..44b1817 100644
--- a/src/couch_replicator/src/couch_replicator_scheduler.erl
+++ b/src/couch_replicator/src/couch_replicator_scheduler.erl
@@ -79,7 +79,8 @@ add_job(#rep{} = Rep) when Rep#rep.id /= undefined ->
     Job = #job{
         id = Rep#rep.id,
         rep = Rep,
-        history = [{added, os:timestamp()}]},
+        history = [{added, os:timestamp()}]
+    },
     gen_server:call(?MODULE, {add_job, Job}, infinity).
 
 

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