jolav / codetabs

Free Online Services. Github/GitLab star history. Count Lines of Code. CORS proxy server. IP GeoLocation. HTTP Headers. Random Data. Api weather temp. Alexa ranking.
https://codetabs.com
BSD 3-Clause "New" or "Revised" License
238 stars 32 forks source link

Finding LoC for IntelliJ returns 504 #2

Closed SUPERCILEX closed 6 years ago

SUPERCILEX commented 6 years ago

https://api.codetabs.com/count-loc/get?repo=JetBrains/IntelliJ-Community

Bigger repos like Linux work just fine so I'm not sure what's going on.

jolav-old-account commented 6 years ago

torvalds/linux weights 191mb, JetBrains/IntelliJ-Community weights 398 mb and request returns 504 before response is sent.

I had not foreseen such large files. I must dig a little more before taking a solution

SUPERCILEX commented 6 years ago

Oh wow, that's huge! I'm guessing it's those dozens of thousands of tags they use 😂.

I'd understand if you want to set the line there and consider the repo to be too big (though I would still love to get stats on it! 😁).

jolav-old-account commented 6 years ago

though I would still love to get stats on it! 😁

https://gist.github.com/jolav/83cf364719c472f9d9a1ea1aa7fa9b99

SUPERCILEX commented 6 years ago

Thanks! ❤️

jolav-old-account commented 6 years ago

I use nginx as a reverse proxy in front of applications. I have modified nginx configuration about timeouts and it looks like its working at least until a much larger repository appears

SUPERCILEX commented 6 years ago

👍. Good enough for me!