Liking cljdoc? Tell your friends :D

onyx.scheduling.balanced-job-scheduler


select-job-requiring-peerclj

(select-job-requiring-peer replica jobs n-remaining)

Selects the next job deserving a peer. Tries to cover job requiring the least peers to cover first, then tries to balance by peer count

Selects the next job deserving a peer.
Tries to cover job requiring the least peers to cover first,
then tries to balance by peer count
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close