Since the singleflight solution might cause memory leak, swithed the solution to lur.Cache. Do the test again.
Steps and target please see this gist
- Shard 0 validator (localhost:9502): PASSED
- Shard 1 validator (localhost:9503): PASSED
- Explorer S0 (localhost:9099): PASSED
- Explorer S1 (localhost:9099 with script update): PASSED