Title: Hanging Code · Issue #1 · duinoapp/duinoapp-server · GitHub
Open Graph Title: Hanging Code · Issue #1 · duinoapp/duinoapp-server
X Title: Hanging Code · Issue #1 · duinoapp/duinoapp-server
Description: Someone submitted the following code to be compiled, something about it caused the compiler to hang and not return anything. Whilst it was taking 1 min to timeout, the user became impatient and spammed the compile button, causing the com...
Open Graph Description: Someone submitted the following code to be compiled, something about it caused the compiler to hang and not return anything. Whilst it was taking 1 min to timeout, the user became impatient and spa...
X Description: Someone submitted the following code to be compiled, something about it caused the compiler to hang and not return anything. Whilst it was taking 1 min to timeout, the user became impatient and spa...
Opengraph URL: https://github.com/duinoapp/duinoapp-server/issues/1
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Hanging Code","articleBody":"Someone submitted the following code to be compiled, something about it caused the compiler to hang and not return anything. \r\n\r\nWhilst it was taking 1 min to timeout, the user became impatient and spammed the compile button, causing the compile server to become overloaded.\r\n\r\nNeed to:\r\n- [ ] find the cause of the issue in this code\r\n- [ ] impose rate limiting on compiling\r\n\r\n```ino\r\nchar val;\r\n#include\u003cServo.h\u003e\r\nServo myServo\r\n/'myServo\r\nconst int controlPin1 = 2;\r\nconst int controlPin2 = 3; \r\nconst int enablePin = 9;\r\n\r\nvoid setup() {\r\n myServo.attatch(4);\r\n pinMode(controlPin1, OUTPUT);\r\n pinMode(controlPin2, OUTPUT);\r\n pinMode(enablePin, OUTPUT);\r\n}\r\n \r\nif (val=='a'){\r\n myServo.Write(90);\r\n delay(40);\r\n}\r\n\r\nelse if (val=='d'){\r\n myServo.Write(180);\r\n delay(30);\r\n}\r\n```","author":{"url":"https://github.com/mrfrase3","@type":"Person","name":"mrfrase3"},"datePublished":"2020-09-23T08:17:08.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1/duinoapp-server/issues/1"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:075d77bc-a9b5-c7fc-7e71-4bd449a54f35 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9356:3865A2:223CEA0:2D8A475:696ED476 |
| html-safe-nonce | 291efbc265c4a12766b1976e0387f3482c290a46b50161fdaf235ae7f4579285 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MzU2OjM4NjVBMjoyMjNDRUEwOjJEOEE0NzU6Njk2RUQ0NzYiLCJ2aXNpdG9yX2lkIjoiMzgxMTkwODQ5MDU4MTk1NTcwMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 28121cffc67ee124cad6f6543f3b011b964a7f3f9a2c10355145eab7eb7b4a8b |
| hovercard-subject-tag | issue:707150770 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/duinoapp/duinoapp-server/1/issue_layout |
| twitter:image | https://opengraph.githubassets.com/46efa2ff67694bc99f48f4f7450ed06b470de797facf9255170e0c0c5315ef26/duinoapp/duinoapp-server/issues/1 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/46efa2ff67694bc99f48f4f7450ed06b470de797facf9255170e0c0c5315ef26/duinoapp/duinoapp-server/issues/1 |
| og:image:alt | Someone submitted the following code to be compiled, something about it caused the compiler to hang and not return anything. Whilst it was taking 1 min to timeout, the user became impatient and spa... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mrfrase3 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee |
| turbo-cache-control | no-preview |
| go-import | github.com/duinoapp/duinoapp-server git https://github.com/duinoapp/duinoapp-server.git |
| octolytics-dimension-user_id | 62825072 |
| octolytics-dimension-user_login | duinoapp |
| octolytics-dimension-repository_id | 190953576 |
| octolytics-dimension-repository_nwo | duinoapp/duinoapp-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 190953576 |
| octolytics-dimension-repository_network_root_nwo | duinoapp/duinoapp-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 39aed5006635ab6f45e6b77d23e73b08a00272a3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width