{"action":"created","issue":{"url":"https://api.github.com/repos/neomutt/neomutt/issues/1289","repository_url":"https://api.github.com/repos/neomutt/neomutt","labels_url":"https://api.github.com/repos/neomutt/neomutt/issues/1289/labels{/name}","comments_url":"https://api.github.com/repos/neomutt/neomutt/issues/1289/comments","events_url":"https://api.github.com/repos/neomutt/neomutt/issues/1289/events","html_url":"https://github.com/neomutt/neomutt/pull/1289","id":340322849,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwNzYyNjA1","number":1289,"title":" add keep_ctx config option ","user":{"login":"sassmann","id":8510910,"node_id":"MDQ6VXNlcjg1MTA5MTA=","avatar_url":"https://avatars3.githubusercontent.com/u/8510910?v=4","gravatar_id":"","url":"https://api.github.com/users/sassmann","html_url":"https://github.com/sassmann","followers_url":"https://api.github.com/users/sassmann/followers","following_url":"https://api.github.com/users/sassmann/following{/other_user}","gists_url":"https://api.github.com/users/sassmann/gists{/gist_id}","starred_url":"https://api.github.com/users/sassmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sassmann/subscriptions","organizations_url":"https://api.github.com/users/sassmann/orgs","repos_url":"https://api.github.com/users/sassmann/repos","events_url":"https://api.github.com/users/sassmann/events{/privacy}","received_events_url":"https://api.github.com/users/sassmann/received_events","type":"User","site_admin":false},"labels":[{"id":523386465,"node_id":"MDU6TGFiZWw1MjMzODY0NjU=","url":"https://api.github.com/repos/neomutt/neomutt/labels/status:in-progress","name":"status:in-progress","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":{"login":"sassmann","id":8510910,"node_id":"MDQ6VXNlcjg1MTA5MTA=","avatar_url":"https://avatars3.githubusercontent.com/u/8510910?v=4","gravatar_id":"","url":"https://api.github.com/users/sassmann","html_url":"https://github.com/sassmann","followers_url":"https://api.github.com/users/sassmann/followers","following_url":"https://api.github.com/users/sassmann/following{/other_user}","gists_url":"https://api.github.com/users/sassmann/gists{/gist_id}","starred_url":"https://api.github.com/users/sassmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sassmann/subscriptions","organizations_url":"https://api.github.com/users/sassmann/orgs","repos_url":"https://api.github.com/users/sassmann/repos","events_url":"https://api.github.com/users/sassmann/events{/privacy}","received_events_url":"https://api.github.com/users/sassmann/received_events","type":"User","site_admin":false},"assignees":[{"login":"flatcap","id":76760,"node_id":"MDQ6VXNlcjc2NzYw","avatar_url":"https://avatars3.githubusercontent.com/u/76760?v=4","gravatar_id":"","url":"https://api.github.com/users/flatcap","html_url":"https://github.com/flatcap","followers_url":"https://api.github.com/users/flatcap/followers","following_url":"https://api.github.com/users/flatcap/following{/other_user}","gists_url":"https://api.github.com/users/flatcap/gists{/gist_id}","starred_url":"https://api.github.com/users/flatcap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flatcap/subscriptions","organizations_url":"https://api.github.com/users/flatcap/orgs","repos_url":"https://api.github.com/users/flatcap/repos","events_url":"https://api.github.com/users/flatcap/events{/privacy}","received_events_url":"https://api.github.com/users/flatcap/received_events","type":"User","site_admin":false},{"login":"sassmann","id":8510910,"node_id":"MDQ6VXNlcjg1MTA5MTA=","avatar_url":"https://avatars3.githubusercontent.com/u/8510910?v=4","gravatar_id":"","url":"https://api.github.com/users/sassmann","html_url":"https://github.com/sassmann","followers_url":"https://api.github.com/users/sassmann/followers","following_url":"https://api.github.com/users/sassmann/following{/other_user}","gists_url":"https://api.github.com/users/sassmann/gists{/gist_id}","starred_url":"https://api.github.com/users/sassmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sassmann/subscriptions","organizations_url":"https://api.github.com/users/sassmann/orgs","repos_url":"https://api.github.com/users/sassmann/repos","events_url":"https://api.github.com/users/sassmann/events{/privacy}","received_events_url":"https://api.github.com/users/sassmann/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-07-11T16:46:04Z","updated_at":"2018-07-22T20:47:28Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/neomutt/neomutt/pulls/1289","html_url":"https://github.com/neomutt/neomutt/pull/1289","diff_url":"https://github.com/neomutt/neomutt/pull/1289.diff","patch_url":"https://github.com/neomutt/neomutt/pull/1289.patch"},"body":"* **What does this PR do?**\r\n\r\nMailbox contexts are kept in memory, instead of being discarded on\r\nmailbox switch. This comes with the trade-off of requiring more memory.\r\nHowever, switching mailboxes is ultra-fast once they've been loaded.\r\n\r\nThis is a first attempt to implement this, not asking for a merge yet.\r\nFeedback is welcome though!"},"comment":{"url":"https://api.github.com/repos/neomutt/neomutt/issues/comments/406895551","html_url":"https://github.com/neomutt/neomutt/pull/1289#issuecomment-406895551","issue_url":"https://api.github.com/repos/neomutt/neomutt/issues/1289","id":406895551,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjg5NTU1MQ==","user":{"login":"flatcap","id":76760,"node_id":"MDQ6VXNlcjc2NzYw","avatar_url":"https://avatars3.githubusercontent.com/u/76760?v=4","gravatar_id":"","url":"https://api.github.com/users/flatcap","html_url":"https://github.com/flatcap","followers_url":"https://api.github.com/users/flatcap/followers","following_url":"https://api.github.com/users/flatcap/following{/other_user}","gists_url":"https://api.github.com/users/flatcap/gists{/gist_id}","starred_url":"https://api.github.com/users/flatcap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flatcap/subscriptions","organizations_url":"https://api.github.com/users/flatcap/orgs","repos_url":"https://api.github.com/users/flatcap/repos","events_url":"https://api.github.com/users/flatcap/events{/privacy}","received_events_url":"https://api.github.com/users/flatcap/received_events","type":"User","site_admin":false},"created_at":"2018-07-22T20:47:28Z","updated_at":"2018-07-22T20:47:28Z","author_association":"MEMBER","body":"> what about making it default, removing the option?\r\n\r\nBefore we could do that, I'd want to know how much memory each of the Contexts is taking up.\r\nSome users have hundreds of mailboxes, with 100,000s of emails and keep NeoMutt open for long periods.\r\nDo we put an upper limit on it?\r\nHow would the user clear the cache?\r\n\r\nAlso, the memory-management in NeoMutt is dreadful.\r\nIf this code wasn't perfect and didn't cover **every** route through the mailbox code,\r\nthen it would affect all users."}}
{"actor":{"display_login":"flatcap"}}