Permalink
Browse files

Increased timeout to prevent problems with large repositories.

On large repository request handling could take significant time. By default ASP.NET gives app 110 seconds before it will abort handling. When testing on repository ~600 Mb in size with several thousands of commits - git clone command ended with HTTP timeout error. After timeout was increased - problem gone.
  • Loading branch information...
ivan-danilov committed Feb 2, 2012
1 parent 96867b6 commit 0c559b88181bbe9498e8578b286c275454e73b8a
Showing with 1 addition and 1 deletion.
  1. +1 −1 GitTools.WebApp/Web.config
@@ -31,7 +31,7 @@
</providers>
</roleManager>
<!--100M-->
- <httpRuntime maxRequestLength="102400" />
+ <httpRuntime executionTimeout="21600" maxRequestLength="102400" />
<httpHandlers>
<add verb="GET,POST" path="*.git" type="GitTools.GitHandler,GitTools" />
</httpHandlers>

0 comments on commit 0c559b8

Please sign in to comment.