Parallelize story capture across multiple computers using sharding
masterTo speed up large screenshot suites, you can distribute stories across multiple machines using the --shard CLI argument.
Format: <shardNumber>/<totalShards>
<shardNumber>: The index of the current machine (1-based).<totalShards>: The total number of machines participating.
Stories are distributed in a round-robin fashion based on their ID. For example, if you have two computers, run them with --shard 1/2 and --shard 2/2 respectively.
# On machine 1
storycap --shard 1/2 http://localhost:9009
# On machine 2
storycap --shard 2/2 http://localhost:9009