{"action":"created","issue":{"url":"https://api.github.com/repos/deanoemcke/thegreatsuspender/issues/458","repository_url":"https://api.github.com/repos/deanoemcke/thegreatsuspender","labels_url":"https://api.github.com/repos/deanoemcke/thegreatsuspender/issues/458/labels{/name}","comments_url":"https://api.github.com/repos/deanoemcke/thegreatsuspender/issues/458/comments","events_url":"https://api.github.com/repos/deanoemcke/thegreatsuspender/issues/458/events","html_url":"https://github.com/deanoemcke/thegreatsuspender/issues/458","id":192679963,"number":458,"title":"Request: Use chrome.tabs.discard feature","user":{"login":"arturkohut","id":15524572,"avatar_url":"https://avatars.githubusercontent.com/u/15524572?v=3","gravatar_id":"","url":"https://api.github.com/users/arturkohut","html_url":"https://github.com/arturkohut","followers_url":"https://api.github.com/users/arturkohut/followers","following_url":"https://api.github.com/users/arturkohut/following{/other_user}","gists_url":"https://api.github.com/users/arturkohut/gists{/gist_id}","starred_url":"https://api.github.com/users/arturkohut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arturkohut/subscriptions","organizations_url":"https://api.github.com/users/arturkohut/orgs","repos_url":"https://api.github.com/users/arturkohut/repos","events_url":"https://api.github.com/users/arturkohut/events{/privacy}","received_events_url":"https://api.github.com/users/arturkohut/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-11-30T21:09:06Z","updated_at":"2016-12-28T20:35:00Z","closed_at":null,"body":"Next changes have many pros, for example, it fixes history issue / makes extension more lightweight, stable and faster.\r\n\r\n1. Instead of suspend tabs, discard tabs using native chrome.tabs.discard.\r\n2. Discard only query(discardable: true, ... tabs.\r\n3. List discarded tabs by query(discard: true, ...)\r\n4. Implement discarding only if RAM is less than plus/or timer arguments.\r\n5. Remove tab restore feature (Chrome can restore tabs automatically after focus gain).\r\n6. Remove hook page/themes/screenshot feature.\r\n\r\nI already implement this changes for myself. It took 5 minutes, but makes extension really lightweight and super stable/same useful."},"comment":{"url":"https://api.github.com/repos/deanoemcke/thegreatsuspender/issues/comments/269536712","html_url":"https://github.com/deanoemcke/thegreatsuspender/issues/458#issuecomment-269536712","issue_url":"https://api.github.com/repos/deanoemcke/thegreatsuspender/issues/458","id":269536712,"user":{"login":"deanoemcke","id":1051763,"avatar_url":"https://avatars.githubusercontent.com/u/1051763?v=3","gravatar_id":"","url":"https://api.github.com/users/deanoemcke","html_url":"https://github.com/deanoemcke","followers_url":"https://api.github.com/users/deanoemcke/followers","following_url":"https://api.github.com/users/deanoemcke/following{/other_user}","gists_url":"https://api.github.com/users/deanoemcke/gists{/gist_id}","starred_url":"https://api.github.com/users/deanoemcke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deanoemcke/subscriptions","organizations_url":"https://api.github.com/users/deanoemcke/orgs","repos_url":"https://api.github.com/users/deanoemcke/repos","events_url":"https://api.github.com/users/deanoemcke/events{/privacy}","received_events_url":"https://api.github.com/users/deanoemcke/received_events","type":"User","site_admin":false},"created_at":"2016-12-28T20:35:00Z","updated_at":"2016-12-28T20:35:00Z","body":"Unfortunately, I don't think that info.availableCapacity is a reliable measure of memory used. From my testing, it can range from 50mb to 250mb regardless of how many tabs I have open, or how much memory chrome is actually using."}}
{"actor":{"display_login":"deanoemcke"}}