# fix\(scripts\): spread launcher shards across every slot and host · flambo/atlantis

[View on GitCafe](https://git.cafe/flambo/atlantis/commit/0e76fc7e7c68e7ea89afaa7b59a5e0013dd13430)

Repository: [flambo/atlantis](https://git.cafe/flambo/atlantis)

Visibility: public

Requested revision: 0e76fc7e7c68e7ea89afaa7b59a5e0013dd13430

Requested commit: 0e76fc7e7c68e7ea89afaa7b59a5e0013dd13430

Commit: 0e76fc7e7c68e7ea89afaa7b59a5e0013dd13430

Tree: 252d2295bc601c52349068baa30bad337a50a4b4

Author: flamboh

Committer: flamboh

## Message

```
fix(scripts): spread launcher shards across every slot and host

Split the range into min(days, slots) shards whose lengths differ by at most one day, and order slots round-robin across hosts so lighter hosts still receive work.

```

## Parents

- [3d8a26a28922ddfac6bdfef3a271dc028c8ab7bf](https://git.cafe/flambo/atlantis/commit/3d8a26a28922ddfac6bdfef3a271dc028c8ab7bf?format=markdown)

[Source at this commit](https://git.cafe/flambo/atlantis/tree/0e76fc7e7c68e7ea89afaa7b59a5e0013dd13430?format=markdown)
