<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -96,8 +96,9 @@ handle_cast({update_config_table, Config}, S) -&gt;
         {noreply, S#state{nodes = NewNodes}};
 
 handle_cast(schedule_next, #state{nodes = Nodes, workers = Workers} = S) -&gt;
-        AvailableNodes = [N || #dnode{slots = X, num_running = Y, name = N}
-                                &lt;- gb_trees:values(Nodes), X &gt; Y],
+        AvailableNodes = [N || #dnode{slots = X, num_running = Y, name = N,
+                                        blacklisted = false}
+                                        &lt;- gb_trees:values(Nodes), X &gt; Y],
         if AvailableNodes =/= [] -&gt;
                 case gen_server:call(scheduler, {next_task, AvailableNodes}) of
                         {ok, {JobSchedPid, {Node, Task}}} -&gt; </diff>
      <filename>master/src/disco_server.erl</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>5ba19d09f09690d2a55bc6817070d52ac684612c</id>
    </parent>
  </parents>
  <author>
    <name>Ville Tuulos</name>
    <email>tuulos@dxfront.(none)</email>
  </author>
  <url>http://github.com/tuulos/disco/commit/63aa62c1aef131c34fc3a8d8f5a9f129627628fb</url>
  <id>63aa62c1aef131c34fc3a8d8f5a9f129627628fb</id>
  <committed-date>2009-10-04T17:08:37-07:00</committed-date>
  <authored-date>2009-10-04T17:08:37-07:00</authored-date>
  <message>Blacklisted nodes should not be included in AvailableNodes</message>
  <tree>f851900c118d14825b1d2d7441292c7d45cbd1fb</tree>
  <committer>
    <name>Ville Tuulos</name>
    <email>tuulos@dxfront.(none)</email>
  </committer>
</commit>
