Make poll interval configurable through env