Closed repvik closed 4 years ago
Thanks for reporting, I'll look into it as soon as possible!
Comparing crafting between AE2 and ID it looks like ID crafts one item at a time, fetching new items for each crafting action while AE2 crafts all at the same time using one fetching action.
Note to self for future reference:
While a more efficient solution would have been to move multiple items into the input slots, craft once, and multiply the output item. This would have resulted in incorrect recipe application in some edge-cases. For instance, some recipes will produce different items on every craft (e.g. entangled chalice). Furthermore, some input items may not be stackable (e.g. tanks).
The current solution optimizes the problem through recipe caching , which is as far as we can go without breaking recipe interface contracts.
Issue type:
Short description:
Attempting to craft a stack of "Block of Crystalized menril" causes the server to hang for > 30 seconds.
Steps to reproduce the problem:
Setup:
A chest, a mechanical squeezer, mechanical drying basin, a drawer controller and ~50 drawers connected in a network (Terminal says ~8.5k items in storage).
Versions:
Profiler output:
Profiler while server was hanging (crafting 33 blocks, which was "fast" enough to not cause the server watchdog to trigger):
Sampler, from when attempting to craft a full stack: serverhang.zip
Spark profiler, from when attempting to craft a full stack: https://sparkprofiler.github.io/#wPmAbJSSzR