Commit Graph

5 Commits

Author SHA1 Message Date
gfyoung d4da4829d4 Enable frozen string in newly added files
Enables frozen string for new files in
directories that had been previously
covered in previous MR's.

Partially addresses #47424.
2018-07-21 19:00:50 -07:00
Toon Claes f40f0c3067 Refactor fetching healthy shards with Gitlab::HealthChecks::GitalyCheck
There is only 1 `HEALTHY_SHARD_CHECKS` used:
Gitlab::HealthChecks::GitalyCheck

So we can simplify code to get the list of healthy shard names.
2018-06-27 21:43:23 +02:00
Toon Claes 041a8ae268 Rename method to #each_eligible_shard 2018-06-27 21:43:23 +02:00
Toon Claes 48901bdecf Bring Gitlab::ShardHealthCache to CE
It already existed in EE in the Geo namespace. This change brings it
to CE.
2018-06-27 21:43:23 +02:00
Toon Claes d98e4f88c2 Extract EachShardWorker into a concern 2018-06-27 21:43:23 +02:00