Snowflake v1.0.2 Snowflake.Helper

Utility functions intended for Snowflake application. epoch() and machine_id() are useful for inspecting in production.

Summary

Functions

Grabs epoch from config value

Grabs hostname, fqdn, and ip addresses, then compares that list to the nodes config to find the intersection

Functions

epoch()
epoch() :: integer

Grabs epoch from config value

machine_id()
machine_id() :: integer

Grabs hostname, fqdn, and ip addresses, then compares that list to the nodes config to find the intersection.