Browse Source

#138 bump http_timeout to 2 seconds

we run into the timeout quite frequently, even on a fast network.
2s should be long enough for mojang to reply
jomo 9 years ago
parent
commit
8ddc300a11
1 changed files with 1 additions and 1 deletions
  1. 1 1
      config.example.js

+ 1 - 1
config.example.js

@@ -27,7 +27,7 @@ var config = {
     browser: 3600                                 // seconds until browser will request image again
   },
   server: {
-    http_timeout: 1000,                           // ms until connection to Mojang is dropped
+    http_timeout: 2000,                           // ms until connection to Mojang is dropped
     debug_enabled: false,                         // enables logging.debug
     log_time: true                                // set to false if you use an external logger that provides timestamps
   }