Queries stuck in RQ status view

Issue Summary

We have an issue with queries getting stuck in the RQ status view looking like they have been running for several months even though they are not running in the database and they do not seem to occupy any workers. Any ideas of how to solve this issue and get rid of them in the RQ Status view?

Technical details:

  • Redash Version: 10.1.0.b50633
  • Browser/OS: Linux
  • How did you install Redash: Docker

We are running Redash self-hosted on an AWS ECS cluster with a Redis on an ElastiCache cluster.