mirror of
https://github.com/DoctorMcKay/node-steamcommunity.git
synced 2025-03-03 15:10:21 +08:00
Added 50-second HTTP timeout
This commit is contained in:
parent
edd95cc93f
commit
a12e8cb67c
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
|
||||
|
Loading…
Reference in New Issue
Block a user