Added 50-second HTTP timeout

This commit is contained in:
Alexander Corn 2015-07-22 11:59:18 -04:00
parent edd95cc93f
commit a12e8cb67c

View File

@ -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