Parallels / rq-dashboard

Flask-based web front-end for monitoring RQ queues
http://python-rq.org/
Other
1.45k stars 328 forks source link

Not able to set polling interval for rq-dashboard #342

Open sapnainfosys opened 4 years ago

sapnainfosys commented 4 years ago

I am trying to integrate rq-dashboard in my python flask application. I wanted to increase the polling interval for dashboard otherwise in every 2 seconds I can see requests for rq/workers.json rq/queues.json etc. I did following to set polling interval-

app.config["RQ_DASHBOARD_POLL_INTERVAL"]= 50000
app.register_blueprint(rq_dashboard.blueprint, url_prefix="/rq")

But still I can see the request coming in my flask application every 2 seconds. How to increase this polling interval value.

rq-1.3.0 rq-dashboard-0.6.1 python-3.6.3