Ratel runs historic queries in the background

Moved from GitHub ratel/70

Posted by danielmai:

I had a bunch of expensive queries in my history list. When I load Ratel they are run again, which isn’t what I expected. I expect queries only to be run when I tell them to. Otherwise, they should wait their turn.

paulftw commented :

Closing as #86 is the same problem but with a bit more discussion

danielmai commented :

#86 was about running multiple queries executing after clicking Run. This issue is about the query running at page-startup without clicking Run at all.

Ratel should not be running queries automatically without clicking the Run button. This can significantly slow down both Ratel and Dgraph unintentionally, and there’s no way to cancel an ongoing query from Ratel.