Page MenuHomePhabricator

Tweak Aphlict magic constants
Closed, WontfixPublic

Description

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.

Event Timeline

joshuaspence raised the priority of this task from to Wishlist.
joshuaspence updated the task description. (Show Details)
joshuaspence added a project: Aphlict.
joshuaspence added a subscriber: joshuaspence.
joshuaspence renamed this task from Tweak Aphlict magic constants. to Tweak Aphlict magic constants.Jul 10 2014, 7:02 PM