dist_agent v0.1.1 DistAgent.Config View Source

dist_agent defines the following application configs:

  • :tick_interval Time interval (in milliseconds) between periodic tick events. Defaults to 60000. By using smaller value you can increase the precision of low-resolution timers with higher overhead.
  • :quota_collection_interval Time interval (in milliseconds) between periodic collections of number of distributed agent. Defaults to 300000. By using smaller value you can get more accurate view of total number of distributed agents with higher overhead.

Note that each dist_agent process uses application configs stored in the local node. If you want to configure the options above you must set them on all nodes in your cluster.

In addition to the configurations above, the following configurations defined by the underlying libraries are also available:

Link to this section Summary

Link to this section Functions

Link to this function quota_collection_interval() View Source
quota_collection_interval() :: pos_integer()
Link to this function tick_interval() View Source
tick_interval() :: pos_integer()