{"action":"created","issue":{"url":"https://api.github.com/repos/CartoDB/torque/issues/133","labels_url":"https://api.github.com/repos/CartoDB/torque/issues/133/labels{/name}","comments_url":"https://api.github.com/repos/CartoDB/torque/issues/133/comments","events_url":"https://api.github.com/repos/CartoDB/torque/issues/133/events","html_url":"https://github.com/CartoDB/torque/issues/133","id":58890954,"number":133,"title":"isRunning() should be false when torque map is static","user":{"login":"fdansv","id":3707222,"avatar_url":"https://avatars.githubusercontent.com/u/3707222?v=3","gravatar_id":"","url":"https://api.github.com/users/fdansv","html_url":"https://github.com/fdansv","followers_url":"https://api.github.com/users/fdansv/followers","following_url":"https://api.github.com/users/fdansv/following{/other_user}","gists_url":"https://api.github.com/users/fdansv/gists{/gist_id}","starred_url":"https://api.github.com/users/fdansv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fdansv/subscriptions","organizations_url":"https://api.github.com/users/fdansv/orgs","repos_url":"https://api.github.com/users/fdansv/repos","events_url":"https://api.github.com/users/fdansv/events{/privacy}","received_events_url":"https://api.github.com/users/fdansv/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-25T12:02:26Z","updated_at":"2015-03-02T17:07:22Z","closed_at":"2015-03-02T17:07:22Z","body":"[This check](https://github.com/CartoDB/torque/blob/master/lib/torque/leaflet/torque.js#L218) makes the renderer produce a tile when ```isRunning()``` is true. At the moment, unless we call ```pause()```, ```isRunning()``` returns ```true``` with ```-torque-frame-count: 1```, which empties the tile cache, calling ```renderTile()``` unnecessarily.\r\n\r\nShould we:\r\n* ```pause()``` on maps with one step,\r\n* Or change the check so it only invalidates the cache when steps are more than one?\r\n\r\n@javisantana "},"comment":{"url":"https://api.github.com/repos/CartoDB/torque/issues/comments/76752691","html_url":"https://github.com/CartoDB/torque/issues/133#issuecomment-76752691","issue_url":"https://api.github.com/repos/CartoDB/torque/issues/133","id":76752691,"user":{"login":"fdansv","id":3707222,"avatar_url":"https://avatars.githubusercontent.com/u/3707222?v=3","gravatar_id":"","url":"https://api.github.com/users/fdansv","html_url":"https://github.com/fdansv","followers_url":"https://api.github.com/users/fdansv/followers","following_url":"https://api.github.com/users/fdansv/following{/other_user}","gists_url":"https://api.github.com/users/fdansv/gists{/gist_id}","starred_url":"https://api.github.com/users/fdansv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fdansv/subscriptions","organizations_url":"https://api.github.com/users/fdansv/orgs","repos_url":"https://api.github.com/users/fdansv/repos","events_url":"https://api.github.com/users/fdansv/events{/privacy}","received_events_url":"https://api.github.com/users/fdansv/received_events","type":"User","site_admin":false},"created_at":"2015-03-02T17:07:22Z","updated_at":"2015-03-02T17:07:22Z","body":"Done in #136"}}