{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/9733","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/9733/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/9733/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/9733/events","html_url":"https://github.com/facebook/react-native/issues/9733","id":174989812,"number":9733,"title":"long running functions getting killed","user":{"login":"jcharbo","id":6372919,"avatar_url":"https://avatars.githubusercontent.com/u/6372919?v=3","gravatar_id":"","url":"https://api.github.com/users/jcharbo","html_url":"https://github.com/jcharbo","followers_url":"https://api.github.com/users/jcharbo/followers","following_url":"https://api.github.com/users/jcharbo/following{/other_user}","gists_url":"https://api.github.com/users/jcharbo/gists{/gist_id}","starred_url":"https://api.github.com/users/jcharbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcharbo/subscriptions","organizations_url":"https://api.github.com/users/jcharbo/orgs","repos_url":"https://api.github.com/users/jcharbo/repos","events_url":"https://api.github.com/users/jcharbo/events{/privacy}","received_events_url":"https://api.github.com/users/jcharbo/received_events","type":"User","site_admin":false},"labels":[{"id":470317962,"url":"https://api.github.com/repos/facebook/react-native/labels/Icebox","name":"Icebox","color":"ededed","default":false},{"id":337217254,"url":"https://api.github.com/repos/facebook/react-native/labels/Ran%20Commands","name":"Ran Commands","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-09-05T03:37:41Z","updated_at":"2016-11-14T01:24:52Z","closed_at":"2016-11-14T01:24:00Z","body":"Hi, I'm using version 32 of rn.  If I force a function to take 5 seconds or so by using a timeout it never returns.  On some components it's as short as 1300 mils.  Can someone please explain what's happening?  \n\nThis is important because if a network issue causes a delay in db query results then the data will never be returned because the function seems to be dying.  \n\nThe following code does not write to the console for me but if I change the number to 2000 or so it does.  This is in my root component.\n\n```\n\nclass Home extends React.Component {\n  constructor(props) {\n    super(props)\n\n    this.state = {\n    }\n    setTimeout(function(){\n      console.log('test')\n    }, 5000);\n\n  }\n\n```\n\nThanks\n"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/260228894","html_url":"https://github.com/facebook/react-native/issues/9733#issuecomment-260228894","issue_url":"https://api.github.com/repos/facebook/react-native/issues/9733","id":260228894,"user":{"login":"bunnyboy1","id":18484611,"avatar_url":"https://avatars.githubusercontent.com/u/18484611?v=3","gravatar_id":"","url":"https://api.github.com/users/bunnyboy1","html_url":"https://github.com/bunnyboy1","followers_url":"https://api.github.com/users/bunnyboy1/followers","following_url":"https://api.github.com/users/bunnyboy1/following{/other_user}","gists_url":"https://api.github.com/users/bunnyboy1/gists{/gist_id}","starred_url":"https://api.github.com/users/bunnyboy1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bunnyboy1/subscriptions","organizations_url":"https://api.github.com/users/bunnyboy1/orgs","repos_url":"https://api.github.com/users/bunnyboy1/repos","events_url":"https://api.github.com/users/bunnyboy1/events{/privacy}","received_events_url":"https://api.github.com/users/bunnyboy1/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T01:24:51Z","updated_at":"2016-11-14T01:24:51Z","body":"This message was created automatically by mail delivery software.\n\nA message that you sent could not be delivered to one or more of its\nrecipients. This is a temporary error. The following address(es) deferred:\n\n  tajindersingh.3012@gmail.com\n    Domain thumbmunkeys.com has exceeded the max emails per hour (73/60 (121%)) allowed.  Message will be reattempted later\n\n------- This is a copy of the message, including all the headers. ------\nReceived: from filter01.reliabledns.org ([199.96.156.50]:43240)\n\tby en02-ams.stablehost.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)\n\t(Exim 4.87)\n\t(envelope-from <noreply@github.com>)\n\tid 1c660p-000Nk0-P5\n\tfor bunny@thumbmunkeys.com; Mon, 14 Nov 2016 01:24:44 +0000\nReceived: from github-smtp2-ext8.iad.github.net ([192.30.252.199] helo=github-smtp2a-ext-cp1-prd.iad.github.net)\n\tby filter01.reliabledns.org with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)\n\t(Exim 4.86)\n\t(envelope-from <noreply@github.com>)\n\tid 1c660o-0004ir-GC\n\tfor bunny@thumbmunkeys.com; Sun, 13 Nov 2016 18:24:43 -0700\nDate: Sun, 13 Nov 2016 17:24:41 -0800\nDKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;\n\ts=pf2014; t=1479086681;\n\tbh=OgBQF0lijL5/MixO9XgLaiOFuTqpi6S0WKqnTdz5rRo=;\n\th=From:Reply-To:To:In-Reply-To:References:Subject:List-ID:\n\t List-Archive:List-Post:List-Unsubscribe:From;\n\tb=2FdQhSxlwVAn+IiUrhbJKv5JcUGqKNFSfVydmbZF/QO4kNO+FKsdmWQCbIYXdmsDr\n\t 1/MT/A3cQ6eiNI4nlhJEwSw+drcvHjGP+H3MJ945jjCFC0c1TkJDrZ8Alo53yev233\n\t p24Zc31h4wKYRaYvCoEMx8hSsqeCTtkOqMJxkGJ4=\nFrom: Facebook Community Bot <notifications@github.com>\nReply-To: facebook/react-native <reply@reply.github.com>\nTo: facebook/react-native <react-native@noreply.github.com>\nMessage-ID: <facebook/react-native/issues/9733/260228817@github.com>\nIn-Reply-To: <facebook/react-native/issues/9733@github.com>\nReferences: <facebook/react-native/issues/9733@github.com>\nSubject: Re: [facebook/react-native] long running functions getting killed\n (#9733)\nMime-Version: 1.0\nContent-Type: multipart/alternative;\n boundary=\"--==_mimepart_58291259c965b_23b03fc063b3513878274e\";\n charset=UTF-8\nContent-Transfer-Encoding: 7bit\nPrecedence: list\nX-GitHub-Sender: facebook-github-bot\nX-GitHub-Recipient: bunnyboy1\nList-ID: facebook/react-native <react-native.facebook.github.com>\nList-Archive: https://github.com/facebook/react-native\nList-Post: <mailto:reply@reply.github.com>\nList-Unsubscribe: <mailto:unsub+011a0d83c4673ed2d72684cc0ed435988b3de6d831452a2292cf000000011440d45992a169ce0a6e21f4@reply.github.com>,\n <https://github.com/notifications/unsubscribe/ARoNg3GppVY8W6Xb_rZzk-0Y7HJ5l-MPks5q97hZgaJpZM4J0t37>\nX-Auto-Response-Suppress: All\nX-GitHub-Recipient-Address: bunny@thumbmunkeys.com\nReceived-SPF: pass (filter01.reliabledns.org: domain of github.com designates 192.30.252.199 as permitted sender) client-ip=192.30.252.199; envelope-from=noreply@github.com; helo=github-smtp2a-ext-cp1-prd.iad.github.net;\nX-SPF-Result: filter01.reliabledns.org: domain of github.com designates 192.30.252.199 as permitted sender\nAuthentication-Results: filter01.reliabledns.org; dmarc=pass header.from=github.com\nX-Filter-ID: s0sct1PQhAABKnZB5plbIamwIYzgudGL4tMY9zS3pea7KY6rzXjgC+rgKYUjsj8D0JuF70A4EJMc\n Wn6O/bsgoWSYW6KbZfj8apx6ohl75uX35Caz8bqM3i8tzwcg+lnkZzoX7PhhDs80mBQKIGWwu/FR\n 0SBc4dtL11Pirbc5zq5wJVSL6KLw+g28lkb31HyS94pE1Cssu3RLQ0/o4r6NbA8zp1yYIFRkRN8y\n Bn+CxV197F2Ly15wuMhWGCyBijamKGUAn/p9Q47LqucN/mkhaZz3A1ed2ITkOuMtrwds5D4GP7gg\n dyYGsTJWPPpT2s69Jq/4FZbX1lzD9O+fyiIjB8wTNR/tjjZvmBdM/4lPZO2sASVdHfbtk3LlI8pB\n wr4jGeKz8vlEl/GSEiCnxc6Ard0BaVp3jhK5GOBJIv+LCtD+V9//iYPXcUPDr8DL9oJhN0JkcMmQ\n sV7j9toT40ga/GYzx2Zgyhf3OXiddZgacWc1/+H6OHgtV1bmxcq0CB3pmrFpDzdgJQc/rZDiOC7K\n RpZxGk3X7U/CrpemaTYEqjR6fyHrrsngmi97syQy+4L3p7+eg7tptOUU98CNo4IBbK0jiD6XqsJZ\n tjQxlyCdsezJow6Hi0pxrFS5O4yOAY8o6W0BvTIC60F9LNR/0kDSJQ==\nX-Report-Abuse-To: spam@filter01.reliabledns.org\nAuthentication-Results: reliabledns.org; spf=pass smtp.mailfrom=noreply@github.com\nAuthentication-Results: reliabledns.org; dkim=pass header.i=github.com\nX-SpamExperts-Class: ham\nX-SpamExperts-Evidence: dnswl/se-reputation (verified ham)\nX-Classification: not-spam/dnswl\nX-Recommended-Action: accept\nX-Spam-Status: No, score=1.1\nX-Spam-Score: 11\nX-Spam-Bar: +\nX-Ham-Report: Spam detection software, running on the system \"en02-ams.stablehost.com\",\n has NOT identified this incoming email as spam.  The original\n message has been attached to this so you can view it or label\n similar future email.  If you have any questions, see\n root\\@localhost for details.\n \n Content preview:  @charpeni tells me to close this issue. If you think it should\n    still be opened let us know why. -- You are receiving this because you are\n    subscribed to this thread. Reply to this email directly or view it on GitHub:\n    https://github.com/facebook/react-native/issues/9733#issuecomment-260228817\n    [...] \n \n Content analysis details:   (1.1 points, 5.0 required)\n \n  pts rule name              description\n ---- ---------------------- --------------------------------------------------\n -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at http://www.dnswl.org/, no\n                             trust\n                             [199.96.156.50 listed in list.dnswl.org]\n  1.5 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)\n  1.6 HTML_IMAGE_ONLY_24     BODY: HTML: images with 2000-2400 bytes of words\n -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n                             [score: 0.0002]\n  0.0 HTML_MESSAGE           BODY: HTML included in message\n -0.1 DKIM_VALID_AU          Message has a valid DKIM or DK signature from author's\n                             domain\n  0.1 DKIM_SIGNED            Message has a DKIM or DK signature, not necessarily valid\n -0.1 DKIM_VALID             Message has at least one valid DKIM or DK signature\nX-Spam-Flag: NO\n\n\n----==_mimepart_58291259c965b_23b03fc063b3513878274e\nContent-Type: text/plain;\n charset=UTF-8\nContent-Transfer-Encoding: 7bit\n\n@charpeni tells me to close this issue. If you think it should still be opened let us know why.\n\n-- \nYou are receiving this because you are subscribed to this thread.\nReply to this email directly or view it on GitHub:\nhttps://github.com/facebook/react-native/issues/9733#issuecomment-260228817\n----==_mimepart_58291259c965b_23b03fc063b3513878274e\nContent-Type: text/html;\n charset=UTF-8\nContent-Transfer-Encoding: 7bit\n\n<p><a href=\"https://github.com/charpeni\" class=\"user-mention\">@charpeni</a> tells me to close this issue. If you think it should still be opened let us know why.</p>\n\n<p style=\"font-size:small;-webkit-text-size-adjust:none;color:#666;\">&mdash;<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href=\"https://github.com/facebook/react-native/issues/9733#issuecomment-260228817\">view it on GitHub</a>, or <a href=\"https://github.com/notifications/unsubscribe-auth/ARoNg5dpOkwzGloTPxUXkJ7t3w13bVABks5q97hZgaJpZM4J0t37\">mute the thread</a>.<img alt=\"\" height=\"1\" src=\"https://github.com/notifications/beacon/ARoNg554P3JQdii0YcZ3dPVqQNVwg1S5ks5q97hZgaJpZM4J0t37.gif\" width=\"1\" /></p>\n<div itemscope itemtype=\"http://schema.org/EmailMessage\">\n<div itemprop=\"action\" itemscope itemtype=\"http://schema.org/ViewAction\">\n  <link itemprop=\"url\" href=\"https://github.com/facebook/react-native/issues/9733#issuecomment-260228817\"></link>\n  <meta itemprop=\"name\" content=\"View Issue\"></meta>\n</div>\n<meta itemprop=\"description\" content=\"View this Issue on GitHub\"></meta>\n</div>\n\n<script type=\"application/json\" data-scope=\"inboxmarkup\">{\"api_version\":\"1.0\",\"publisher\":{\"api_key\":\"05dde50f1d1a384dd78767c55493e4bb\",\"name\":\"GitHub\"},\"entity\":{\"external_key\":\"github/facebook/react-native\",\"title\":\"facebook/react-native\",\"subtitle\":\"GitHub repository\",\"main_image_url\":\"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png\",\"avatar_image_url\":\"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png\",\"action\":{\"name\":\"Open in GitHub\",\"url\":\"https://github.com/facebook/react-native\"}},\"updates\":{\"snippets\":[{\"icon\":\"PERSON\",\"message\":\"@facebook-github-bot in #9733: @charpeni tells me to close this issue. If you think it should still be opened let us know why.\"}],\"action\":{\"name\":\"View Issue\",\"url\":\"https://github.com/facebook/react-native/issues/9733#issuecomment-260228817\"}}}</script>\n----==_mimepart_58291259c965b_23b03fc063b3513878274e--\n"}}
{"actor":{"display_login":"bunnyboy1"}}