Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Automatic heartbeats are for network licenses only, and are disabled by default. You can enable automatic heartbeats using "the LMX_SetOption  option LMX_OPT_AUTOMATIC_HEARTBEAT_ATTEMPTS," which is described in LMX_SetOption.

The recommended setting for automatic heartbeats is between 30 seconds and 2 minutes. (The default interval is 2 minutes, which can be changed using "the LMX_SetOption option LMX_OPT_AUTOMATIC_HEARTBEAT_INTERVAL," which is described in LMX_SetOption.)

Automatic heartbeats start an extra thread that calls the license server on behalf of the client at the specified intervals. If the license server fully restarts between heartbeats from an application, automatic heartbeats will recognize that the server has restarted and will attempt to re-checkout its required license(s).

...

To prevent intentional license overuse, you can implement a custom-coded counter. Using "LMX_OPT_AUTOMATIC_HEARTBEAT_ATTEMPTS" together with  "LMX_OPT_AUTOMATIC_HEARTBEAT_INTERVAL" on page , you can detect broken network connections. By implementing a custom counter in addition to these API calls, you can track the number of times the license server goes down and comes back up during a specified interval, and stop the application if a particular frequency is exceeded. For example, the counter could limit the number of times the license server goes down to 10 times per hour before making the application unavailable.

...