When the Aphlict client was modified to use `LocalConnection` (D9327), as a part of the implementation I chose some fairly arbitrary constants to determine timing intervals. I didn't experiment with these values much and it is possible that we could reduce the intervals to provide a better UX.
The following constants can/should probably be tweaked:
- `AphlictMaster::PURGE_INTERVAL`
- `AphlictClient::INTERVAL`
- It's not really a constant, but the client ID is generated as `'aphlict_client_' + Math.round(Math.random() * 100000)`. I figured that this value was high enough to reduce the possibility of collisions, but maybe not.