fixed sharding/auto2.js when under heavy load