dotfiles/app/lib/prymn
Nikos Papadakis be7f584010
app: a nice poc background connection with the agent
Dynamically supervise a GRPC connection and keep it alive for a while,
using a timeout to kill the process on inactivity.

The Connection GenServer keeps the connection alive, while listening to
a health stream from the GRPC endpoint, notifying any subscribed
listeners about changes to health.

This health is then propagated to the main servers page.

Also create a looping get_sys_info which retrieves some basic system
information.
2023-08-26 00:51:04 +03:00
..
accounts Add typespecs, remove unneeded documentation 2023-07-29 14:45:09 +03:00
agents app: a nice poc background connection with the agent 2023-08-26 00:51:04 +03:00
servers rename backend -> app 2023-07-19 23:24:24 +03:00
accounts.ex Add typespecs, remove unneeded documentation 2023-07-29 14:45:09 +03:00
agents.ex app: a nice poc background connection with the agent 2023-08-26 00:51:04 +03:00
application.ex app: a nice poc background connection with the agent 2023-08-26 00:51:04 +03:00
mailer.ex rename backend -> app 2023-07-19 23:24:24 +03:00
repo.ex rename backend -> app 2023-07-19 23:24:24 +03:00
servers.ex app: use normal assigns instead of streams for the server list 2023-07-26 22:41:52 +03:00