{"action":"created","issue":{"url":"https://api.github.com/repos/agile-geoscience/pickr/issues/170","labels_url":"https://api.github.com/repos/agile-geoscience/pickr/issues/170/labels{/name}","comments_url":"https://api.github.com/repos/agile-geoscience/pickr/issues/170/comments","events_url":"https://api.github.com/repos/agile-geoscience/pickr/issues/170/events","html_url":"https://github.com/agile-geoscience/pickr/issues/170","id":58825528,"number":170,"title":"Dilation error Critical bug","user":{"login":"ben-bougher","id":5186902,"avatar_url":"https://avatars.githubusercontent.com/u/5186902?v=3","gravatar_id":"","url":"https://api.github.com/users/ben-bougher","html_url":"https://github.com/ben-bougher","followers_url":"https://api.github.com/users/ben-bougher/followers","following_url":"https://api.github.com/users/ben-bougher/following{/other_user}","gists_url":"https://api.github.com/users/ben-bougher/gists{/gist_id}","starred_url":"https://api.github.com/users/ben-bougher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ben-bougher/subscriptions","organizations_url":"https://api.github.com/users/ben-bougher/orgs","repos_url":"https://api.github.com/users/ben-bougher/repos","events_url":"https://api.github.com/users/ben-bougher/events{/privacy}","received_events_url":"https://api.github.com/users/ben-bougher/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/agile-geoscience/pickr/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-24T23:42:04Z","updated_at":"2015-02-25T01:12:28Z","closed_at":null,"body":"This was the error from the logs. Looks like maybe the dilate algorithm is choking?\r\n\r\ny[mh+x[i,0]:mh+x[i,0]+h, mw+x[i,1]:mw+x[i,1]+w], add4dilate(f,v[i]))\r\nDeadlineExceededError"},"comment":{"url":"https://api.github.com/repos/agile-geoscience/pickr/issues/comments/75886358","html_url":"https://github.com/agile-geoscience/pickr/issues/170#issuecomment-75886358","issue_url":"https://api.github.com/repos/agile-geoscience/pickr/issues/170","id":75886358,"user":{"login":"kwinkunks","id":1692372,"avatar_url":"https://avatars.githubusercontent.com/u/1692372?v=3","gravatar_id":"","url":"https://api.github.com/users/kwinkunks","html_url":"https://github.com/kwinkunks","followers_url":"https://api.github.com/users/kwinkunks/followers","following_url":"https://api.github.com/users/kwinkunks/following{/other_user}","gists_url":"https://api.github.com/users/kwinkunks/gists{/gist_id}","starred_url":"https://api.github.com/users/kwinkunks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwinkunks/subscriptions","organizations_url":"https://api.github.com/users/kwinkunks/orgs","repos_url":"https://api.github.com/users/kwinkunks/repos","events_url":"https://api.github.com/users/kwinkunks/events{/privacy}","received_events_url":"https://api.github.com/users/kwinkunks/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T01:12:28Z","updated_at":"2015-02-25T01:12:28Z","body":"Hm, might be a red herring. I'm seeing it in /library, which doesn't invoke the heatmap. The picks aren't exactly huge data, so I'll be surprised if that is the problem.\r\n\r\nI got /about to render, and it hits the database (for counts). \r\n\r\nSeeing things like this:\r\n\r\n    user_ids = [p.user_id for p in picks]\r\n\r\n    img_objs = ImageObject.all().ancestor(db_parent).filter(\"title !=\", '').fetch(10000)\r\n\r\nIs this the latency / database traffic clobbering us? Huge latency on Instance 1 of 4:\r\nhttps://www.dropbox.com/s/gi84o8jiy0wkzh6/Screenshot%202015-02-24%2021.08.54.png?dl=0\r\n\r\n@ben-bougher can you add this bit of configuration to the app.yaml file? \r\nhttps://cloud.google.com/appengine/docs/python/config/appconfig#Python_app_yaml_Warmup_requests\r\n\r\nIt sounds like that will help the latency issue at least."}}