mirror of
https://github.com/DoctorMcKay/node-steamcommunity.git
synced 2026-08-19 13:13:28 +08:00
Added 50-second HTTP timeout
This commit is contained in:
2
index.js
2
index.js
@@ -12,7 +12,7 @@ SteamCommunity.SteamID = SteamID;
|
||||
function SteamCommunity() {
|
||||
this._jar = Request.jar();
|
||||
this._captchaGid = -1;
|
||||
this.request = Request.defaults({"jar": this._jar});
|
||||
this.request = Request.defaults({"jar": this._jar, "timeout": 50000});
|
||||
this.chatState = SteamCommunity.ChatState.Offline;
|
||||
|
||||
// English
|
||||
|
||||
Reference in New Issue
Block a user