{"action":"opened","number":4,"pull_request":{"url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/pulls/4","id":203154022,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAzMTU0MDIy","html_url":"https://github.com/Alir3z4/django-mongodb-cash-backend/pull/4","diff_url":"https://github.com/Alir3z4/django-mongodb-cash-backend/pull/4.diff","patch_url":"https://github.com/Alir3z4/django-mongodb-cash-backend/pull/4.patch","issue_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/issues/4","number":4,"state":"open","locked":false,"title":"Use MongoDB's TTL index or capped collections for automatic cache culling","user":{"login":"Olivier-OH","id":16176450,"node_id":"MDQ6VXNlcjE2MTc2NDUw","avatar_url":"https://avatars0.githubusercontent.com/u/16176450?v=4","gravatar_id":"","url":"https://api.github.com/users/Olivier-OH","html_url":"https://github.com/Olivier-OH","followers_url":"https://api.github.com/users/Olivier-OH/followers","following_url":"https://api.github.com/users/Olivier-OH/following{/other_user}","gists_url":"https://api.github.com/users/Olivier-OH/gists{/gist_id}","starred_url":"https://api.github.com/users/Olivier-OH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Olivier-OH/subscriptions","organizations_url":"https://api.github.com/users/Olivier-OH/orgs","repos_url":"https://api.github.com/users/Olivier-OH/repos","events_url":"https://api.github.com/users/Olivier-OH/events{/privacy}","received_events_url":"https://api.github.com/users/Olivier-OH/received_events","type":"User","site_admin":false},"body":"Now, the cache backend never tries and cull older entries, and rather lets MongoDB do it itself.\r\nFor intensive usage, there may be a great performance gain, not doing this in the backend code.","created_at":"2018-07-23T09:09:13Z","updated_at":"2018-07-23T09:09:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/pulls/4/commits","review_comments_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/pulls/4/comments","review_comment_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/issues/4/comments","statuses_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/statuses/59b737b3e1d9adc77855ae877c34aa5d3ed5f862","head":{"label":"Olivier-OH:master","ref":"master","sha":"59b737b3e1d9adc77855ae877c34aa5d3ed5f862","user":{"login":"Olivier-OH","id":16176450,"node_id":"MDQ6VXNlcjE2MTc2NDUw","avatar_url":"https://avatars0.githubusercontent.com/u/16176450?v=4","gravatar_id":"","url":"https://api.github.com/users/Olivier-OH","html_url":"https://github.com/Olivier-OH","followers_url":"https://api.github.com/users/Olivier-OH/followers","following_url":"https://api.github.com/users/Olivier-OH/following{/other_user}","gists_url":"https://api.github.com/users/Olivier-OH/gists{/gist_id}","starred_url":"https://api.github.com/users/Olivier-OH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Olivier-OH/subscriptions","organizations_url":"https://api.github.com/users/Olivier-OH/orgs","repos_url":"https://api.github.com/users/Olivier-OH/repos","events_url":"https://api.github.com/users/Olivier-OH/events{/privacy}","received_events_url":"https://api.github.com/users/Olivier-OH/received_events","type":"User","site_admin":false},"repo":{"id":136616118,"node_id":"MDEwOlJlcG9zaXRvcnkxMzY2MTYxMTg=","name":"django-mongodb-cash-backend","full_name":"Olivier-OH/django-mongodb-cash-backend","owner":{"login":"Olivier-OH","id":16176450,"node_id":"MDQ6VXNlcjE2MTc2NDUw","avatar_url":"https://avatars0.githubusercontent.com/u/16176450?v=4","gravatar_id":"","url":"https://api.github.com/users/Olivier-OH","html_url":"https://github.com/Olivier-OH","followers_url":"https://api.github.com/users/Olivier-OH/followers","following_url":"https://api.github.com/users/Olivier-OH/following{/other_user}","gists_url":"https://api.github.com/users/Olivier-OH/gists{/gist_id}","starred_url":"https://api.github.com/users/Olivier-OH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Olivier-OH/subscriptions","organizations_url":"https://api.github.com/users/Olivier-OH/orgs","repos_url":"https://api.github.com/users/Olivier-OH/repos","events_url":"https://api.github.com/users/Olivier-OH/events{/privacy}","received_events_url":"https://api.github.com/users/Olivier-OH/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Olivier-OH/django-mongodb-cash-backend","description":"django-mongodb-cash-backend","fork":true,"url":"https://api.github.com/repos/Olivier-OH/django-mongodb-cash-backend","forks_url":"https://api.github.com/repos/Olivier-OH/django-mongodb-cash-backend/forks","keys_url":"https://api.github.com/repos/Olivier-OH/django-mongodb-cash-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Olivier-OH/django-mongodb-cash-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Olivier-OH/django-mongodb-cash-backend/teams","hooks_url":"https://api.github.com/repos/Olivier-OH/django-mongodb-cash-backend/hooks","issue_events_url":"https://api.github.com/repos/Olivier-OH/django-mongodb-cash-backend/issues/events{/number}","events_url":"https://api.github.com/repos/Olivier-OH/django-mongodb-cash-backend/events","assignees_url":"https://api.github.com/repos/Olivier-OH/django-mongodb-cash-backend/assignees{/user}","branches_url":"https://api.github.com/repos/Olivier-OH/django-mongodb-cash-backend/branches{/branch}","tags_url":"https://api.github.com/repos/Olivier-OH/django-mongodb-cash-backend/tags","blobs_url":"https://api.github.com/repos/Olivier-OH/django-mongodb-cash-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Olivier-OH/django-mongodb-cash-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Olivier-OH/django-mongodb-cash-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/Olivier-OH/django-mongodb-cash-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Olivier-OH/django-mongodb-cash-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/Olivier-OH/django-mongodb-cash-backend/languages","stargazers_url":"https://api.github.com/repos/Olivier-OH/django-mongodb-cash-backend/stargazers","contributors_url":"https://api.github.com/repos/Olivier-OH/django-mongodb-cash-backend/contributors","subscribers_url":"https://api.github.com/repos/Olivier-OH/django-mongodb-cash-backend/subscribers","subscription_url":"https://api.github.com/repos/Olivier-OH/django-mongodb-cash-backend/subscription","commits_url":"https://api.github.com/repos/Olivier-OH/django-mongodb-cash-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/Olivier-OH/django-mongodb-cash-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/Olivier-OH/django-mongodb-cash-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/Olivier-OH/django-mongodb-cash-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/Olivier-OH/django-mongodb-cash-backend/contents/{+path}","compare_url":"https://api.github.com/repos/Olivier-OH/django-mongodb-cash-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Olivier-OH/django-mongodb-cash-backend/merges","archive_url":"https://api.github.com/repos/Olivier-OH/django-mongodb-cash-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Olivier-OH/django-mongodb-cash-backend/downloads","issues_url":"https://api.github.com/repos/Olivier-OH/django-mongodb-cash-backend/issues{/number}","pulls_url":"https://api.github.com/repos/Olivier-OH/django-mongodb-cash-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/Olivier-OH/django-mongodb-cash-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/Olivier-OH/django-mongodb-cash-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Olivier-OH/django-mongodb-cash-backend/labels{/name}","releases_url":"https://api.github.com/repos/Olivier-OH/django-mongodb-cash-backend/releases{/id}","deployments_url":"https://api.github.com/repos/Olivier-OH/django-mongodb-cash-backend/deployments","created_at":"2018-06-08T12:29:11Z","updated_at":"2018-07-23T09:06:15Z","pushed_at":"2018-07-23T09:06:14Z","git_url":"git://github.com/Olivier-OH/django-mongodb-cash-backend.git","ssh_url":"git@github.com:Olivier-OH/django-mongodb-cash-backend.git","clone_url":"https://github.com/Olivier-OH/django-mongodb-cash-backend.git","svn_url":"https://github.com/Olivier-OH/django-mongodb-cash-backend","homepage":"https://github.com/Olivier-OH/django-mongodb-cash-backend","size":15,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Alir3z4:master","ref":"master","sha":"7b8cfa2fc9a2a6bc8c4c2036ae0bf7f5333b0995","user":{"login":"Alir3z4","id":591113,"node_id":"MDQ6VXNlcjU5MTExMw==","avatar_url":"https://avatars3.githubusercontent.com/u/591113?v=4","gravatar_id":"","url":"https://api.github.com/users/Alir3z4","html_url":"https://github.com/Alir3z4","followers_url":"https://api.github.com/users/Alir3z4/followers","following_url":"https://api.github.com/users/Alir3z4/following{/other_user}","gists_url":"https://api.github.com/users/Alir3z4/gists{/gist_id}","starred_url":"https://api.github.com/users/Alir3z4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alir3z4/subscriptions","organizations_url":"https://api.github.com/users/Alir3z4/orgs","repos_url":"https://api.github.com/users/Alir3z4/repos","events_url":"https://api.github.com/users/Alir3z4/events{/privacy}","received_events_url":"https://api.github.com/users/Alir3z4/received_events","type":"User","site_admin":false},"repo":{"id":11768633,"node_id":"MDEwOlJlcG9zaXRvcnkxMTc2ODYzMw==","name":"django-mongodb-cash-backend","full_name":"Alir3z4/django-mongodb-cash-backend","owner":{"login":"Alir3z4","id":591113,"node_id":"MDQ6VXNlcjU5MTExMw==","avatar_url":"https://avatars3.githubusercontent.com/u/591113?v=4","gravatar_id":"","url":"https://api.github.com/users/Alir3z4","html_url":"https://github.com/Alir3z4","followers_url":"https://api.github.com/users/Alir3z4/followers","following_url":"https://api.github.com/users/Alir3z4/following{/other_user}","gists_url":"https://api.github.com/users/Alir3z4/gists{/gist_id}","starred_url":"https://api.github.com/users/Alir3z4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alir3z4/subscriptions","organizations_url":"https://api.github.com/users/Alir3z4/orgs","repos_url":"https://api.github.com/users/Alir3z4/repos","events_url":"https://api.github.com/users/Alir3z4/events{/privacy}","received_events_url":"https://api.github.com/users/Alir3z4/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Alir3z4/django-mongodb-cash-backend","description":"django-mongodb-cash-backend","fork":false,"url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend","forks_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/forks","keys_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/teams","hooks_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/hooks","issue_events_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/issues/events{/number}","events_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/events","assignees_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/assignees{/user}","branches_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/branches{/branch}","tags_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/tags","blobs_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/languages","stargazers_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/stargazers","contributors_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/contributors","subscribers_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/subscribers","subscription_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/subscription","commits_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/contents/{+path}","compare_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/merges","archive_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/downloads","issues_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/issues{/number}","pulls_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/labels{/name}","releases_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/releases{/id}","deployments_url":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/deployments","created_at":"2013-07-30T15:37:03Z","updated_at":"2017-05-22T11:22:18Z","pushed_at":"2015-11-09T08:17:32Z","git_url":"git://github.com/Alir3z4/django-mongodb-cash-backend.git","ssh_url":"git@github.com:Alir3z4/django-mongodb-cash-backend.git","clone_url":"https://github.com/Alir3z4/django-mongodb-cash-backend.git","svn_url":"https://github.com/Alir3z4/django-mongodb-cash-backend","homepage":"https://pypi.python.org/pypi/django-mongodb-cash-backend","size":151,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":2,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/pulls/4"},"html":{"href":"https://github.com/Alir3z4/django-mongodb-cash-backend/pull/4"},"issue":{"href":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/issues/4"},"comments":{"href":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/Alir3z4/django-mongodb-cash-backend/statuses/59b737b3e1d9adc77855ae877c34aa5d3ed5f862"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":8,"additions":165,"deletions":68,"changed_files":2}}
{"actor":{"display_login":"Olivier-OH"}}