Files
AE2FluidCraft-Rework/src/main
Firenoo 708cdece79 Network throttle: Force ME update packets to be sent once every 50ms.
1. Item and fluid packets are separated to their own classes, as they are
not even allowed to be mixed together in the first place. This will enforce a strict
separation of the two.

2. New network worker thread for handling ME inventory updates. Instead of
creating packets directly, classes should schedule a packet to be sent at the
next 50ms boundary. The packet has a limit of 256 items to prevent killing the
client; should be adjusted until a good balance between startup time (see below)
and client lag is reached.

3. Upon opening a terminal GUI, ME update packets are split. Only the last received
packet will trigger a terminal sorting, so if the ME system is large, it may take
several seconds (!) to load all the items.
2023-03-21 08:36:45 -07:00
..