Browse Source

updated peachpie (1.0.0-preview1 + recent changes) (#6007)

Jakub Míšek 4 years ago
parent
commit
db66ede7a7
2 changed files with 5 additions and 5 deletions
  1. 4 4
      frameworks/PHP/peachpie/Server/Program.cs
  2. 1 1
      frameworks/PHP/peachpie/global.json

+ 4 - 4
frameworks/PHP/peachpie/Server/Program.cs

@@ -32,15 +32,15 @@ namespace PeachpieBenchmarks.Server
                 .Run();
         }
     }
-	
-	class Startup
+
+    class Startup
     {
         public void ConfigureServices(IServiceCollection services)
         {
-            // disable timeout
             services.AddPhp(options =>
             {
-                options.Core.ExecutionTimeout = -1;
+                // disable timeout
+                options.Core.ExecutionTimeout = 0;
             });
         }
 

+ 1 - 1
frameworks/PHP/peachpie/global.json

@@ -1,5 +1,5 @@
 {
     "msbuild-sdks": {
-        "Peachpie.NET.Sdk": "1.0.0-appv3917"
+        "Peachpie.NET.Sdk": "1.0.0-appv4128"
     }
 }