{"action":"created","issue":{"url":"https://api.github.com/repos/HXLStandard/hxl-proxy/issues/100","repository_url":"https://api.github.com/repos/HXLStandard/hxl-proxy","labels_url":"https://api.github.com/repos/HXLStandard/hxl-proxy/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/HXLStandard/hxl-proxy/issues/100/comments","events_url":"https://api.github.com/repos/HXLStandard/hxl-proxy/issues/100/events","html_url":"https://github.com/HXLStandard/hxl-proxy/issues/100","id":152635825,"number":100,"title":"Cache directory for HXL Proxy","user":{"login":"davidmegginson","id":2810060,"avatar_url":"https://avatars.githubusercontent.com/u/2810060?v=3","gravatar_id":"","url":"https://api.github.com/users/davidmegginson","html_url":"https://github.com/davidmegginson","followers_url":"https://api.github.com/users/davidmegginson/followers","following_url":"https://api.github.com/users/davidmegginson/following{/other_user}","gists_url":"https://api.github.com/users/davidmegginson/gists{/gist_id}","starred_url":"https://api.github.com/users/davidmegginson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidmegginson/subscriptions","organizations_url":"https://api.github.com/users/davidmegginson/orgs","repos_url":"https://api.github.com/users/davidmegginson/repos","events_url":"https://api.github.com/users/davidmegginson/events{/privacy}","received_events_url":"https://api.github.com/users/davidmegginson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/HXLStandard/hxl-proxy/labels/sysadmin","name":"sysadmin","color":"5319e7"}],"state":"open","locked":false,"assignee":{"login":"teodorescuserban","id":1542984,"avatar_url":"https://avatars.githubusercontent.com/u/1542984?v=3","gravatar_id":"","url":"https://api.github.com/users/teodorescuserban","html_url":"https://github.com/teodorescuserban","followers_url":"https://api.github.com/users/teodorescuserban/followers","following_url":"https://api.github.com/users/teodorescuserban/following{/other_user}","gists_url":"https://api.github.com/users/teodorescuserban/gists{/gist_id}","starred_url":"https://api.github.com/users/teodorescuserban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teodorescuserban/subscriptions","organizations_url":"https://api.github.com/users/teodorescuserban/orgs","repos_url":"https://api.github.com/users/teodorescuserban/repos","events_url":"https://api.github.com/users/teodorescuserban/events{/privacy}","received_events_url":"https://api.github.com/users/teodorescuserban/received_events","type":"User","site_admin":false},"assignees":[{"login":"teodorescuserban","id":1542984,"avatar_url":"https://avatars.githubusercontent.com/u/1542984?v=3","gravatar_id":"","url":"https://api.github.com/users/teodorescuserban","html_url":"https://github.com/teodorescuserban","followers_url":"https://api.github.com/users/teodorescuserban/followers","following_url":"https://api.github.com/users/teodorescuserban/following{/other_user}","gists_url":"https://api.github.com/users/teodorescuserban/gists{/gist_id}","starred_url":"https://api.github.com/users/teodorescuserban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teodorescuserban/subscriptions","organizations_url":"https://api.github.com/users/teodorescuserban/orgs","repos_url":"https://api.github.com/users/teodorescuserban/repos","events_url":"https://api.github.com/users/teodorescuserban/events{/privacy}","received_events_url":"https://api.github.com/users/teodorescuserban/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/HXLStandard/hxl-proxy/milestones/1","html_url":"https://github.com/HXLStandard/hxl-proxy/milestones/Soon","labels_url":"https://api.github.com/repos/HXLStandard/hxl-proxy/milestones/1/labels","id":977106,"number":1,"title":"Soon","description":"","creator":{"login":"davidmegginson","id":2810060,"avatar_url":"https://avatars.githubusercontent.com/u/2810060?v=3","gravatar_id":"","url":"https://api.github.com/users/davidmegginson","html_url":"https://github.com/davidmegginson","followers_url":"https://api.github.com/users/davidmegginson/followers","following_url":"https://api.github.com/users/davidmegginson/following{/other_user}","gists_url":"https://api.github.com/users/davidmegginson/gists{/gist_id}","starred_url":"https://api.github.com/users/davidmegginson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidmegginson/subscriptions","organizations_url":"https://api.github.com/users/davidmegginson/orgs","repos_url":"https://api.github.com/users/davidmegginson/repos","events_url":"https://api.github.com/users/davidmegginson/events{/privacy}","received_events_url":"https://api.github.com/users/davidmegginson/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":11,"state":"open","created_at":"2015-02-12T16:58:30Z","updated_at":"2016-07-29T21:07:54Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-05-02T20:21:07Z","updated_at":"2016-07-29T21:09:10Z","closed_at":null,"body":"The head of the dev branch for the HXL Proxy now uses a disk-based cache rather than a memory-based cache, so there are new config options (and possibly new Docker requirements) for deploying the proxy.\r\n\r\nPlease advised that you're ready (and don't see any problems), before I move this change to the master branch.\r\n\r\n**Details**\r\n\r\nThe config.py file can now use the following fields to control caching (see config.py.TEMPLATE):\r\n\r\n    CACHE_DIR = '/tmp'\r\n    CACHE_MAX_ITEMS = 1000\r\n    CACHE_DEFAULT_TIMEOUT_SECONDS = 3600 # 1 hour\r\n\r\n/tmp/ isn't a great choice, so that should be set to somewhere else.  Soon, the HXL Proxy will be using the cache for input as well as output (to avoid hitting an external source over and over).  \r\n\r\nAlso TBD: should we move to a 24-hour caching time? Most of our data isn't very fast-changing. We can create a new issue for this when the time is right."},"comment":{"url":"https://api.github.com/repos/HXLStandard/hxl-proxy/issues/comments/236294162","html_url":"https://github.com/HXLStandard/hxl-proxy/issues/100#issuecomment-236294162","issue_url":"https://api.github.com/repos/HXLStandard/hxl-proxy/issues/100","id":236294162,"user":{"login":"davidmegginson","id":2810060,"avatar_url":"https://avatars.githubusercontent.com/u/2810060?v=3","gravatar_id":"","url":"https://api.github.com/users/davidmegginson","html_url":"https://github.com/davidmegginson","followers_url":"https://api.github.com/users/davidmegginson/followers","following_url":"https://api.github.com/users/davidmegginson/following{/other_user}","gists_url":"https://api.github.com/users/davidmegginson/gists{/gist_id}","starred_url":"https://api.github.com/users/davidmegginson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidmegginson/subscriptions","organizations_url":"https://api.github.com/users/davidmegginson/orgs","repos_url":"https://api.github.com/users/davidmegginson/repos","events_url":"https://api.github.com/users/davidmegginson/events{/privacy}","received_events_url":"https://api.github.com/users/davidmegginson/received_events","type":"User","site_admin":false},"created_at":"2016-07-29T21:09:10Z","updated_at":"2016-07-29T21:09:10Z","body":"@teodorescuserban - The beta version of the proxy is now using a disk-based cache -- take a look at /srv/www/hxl-proxy/beta/local/config.py to see how it's set up."}}
{"actor":{"display_login":"davidmegginson"}}