Proca.Users.Status (proca v3.4.1)

Stores token_last_seen timestamps to user_tokens table. Does not store it every time a token is used, not to strain the DB. Synces every 10s

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Link to this section Functions

Link to this function

api_token_used(user, token)

Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

start_link(opts)