             limit  : 5      # maximum number of projects to replicate at once
             cb     : undefined
         @projects
-            cb : (err, projects) =>
-                # TODO.
-
-
-
-
-
-
-
+            cb

exports.replicate_projects_needing_replication = (opts) ->
    opts = defaults opts,
        age_s     : 5*60  # 5 minutes
        limit     : 10    # max number to replicate simultaneously
        cb        : required
    dbg = (m) -> winston.debug("replicate_projects_needing_replication: #{m}")
    projects = undefined

                        dbg("\n******************\n**** STATUS: finished #{done}/#{todo}\n**************")
                        if err
                            errors[project_id] = err
                        setTimeout(cb, opts.interval)
            async.mapLimit(projects, opts.limit, f, cb)
    ], (err) ->
        if err
