Commit Graph

4 Commits

Author SHA1 Message Date
Hector Sanjuan
4549282cba Fix #277: Introduce maximum and minimum replication factor
This PR replaces ReplicationFactor with ReplicationFactorMax
and ReplicationFactor min.

This allows a CID to be pinned even though the desired
replication factor (max) is not reached, and prevents triggering
re-pinnings when the replication factor has not crossed the
lower threshold (min).

License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-01-16 16:36:06 +01:00
Hector Sanjuan
763bd060a5 Increase lines of code per method in codeclimate
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2017-12-08 16:57:44 +01:00
Hector Sanjuan
a0025587eb Adjust some codeclimate settings
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2017-12-08 16:47:15 +01:00
Hector Sanjuan
50859a8954 codeclimate: add .codeclimate.yml
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2017-12-08 01:05:49 +01:00