Skip to content

Commit

Permalink
Increased timeout to prevent problems with large repositories.
Browse files Browse the repository at this point in the history
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 0c559b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GitTools.WebApp/Web.config
Expand Up @@ -31,7 +31,7 @@
</providers> </providers>
</roleManager> </roleManager>
<!--100M--> <!--100M-->
<httpRuntime maxRequestLength="102400" /> <httpRuntime executionTimeout="21600" maxRequestLength="102400" />
<httpHandlers> <httpHandlers>
<add verb="GET,POST" path="*.git" type="GitTools.GitHandler,GitTools" /> <add verb="GET,POST" path="*.git" type="GitTools.GitHandler,GitTools" />
</httpHandlers> </httpHandlers>
Expand Down

0 comments on commit 0c559b8

Please sign in to comment.