M4a1x/laundrymeter

Extract wm_poller to separate program/module

Opened this issue · 0 comments

M4a1x commented

Extract wm_poller and separate it from the api logic.

This is so that when run with gunicorn the wm_poller doesn't get started multiple times. This is currently not a serious problem, as one worker is enough for the current load.