Increase timout to 20 seconds
This commit is contained in:
parent
8f5785a591
commit
ccf6054d49
@ -97,7 +97,7 @@ func (s *Songwhip) Process(from, post string) string {
|
|||||||
var swresp = &SongwhipResp{}
|
var swresp = &SongwhipResp{}
|
||||||
|
|
||||||
var req = HTTPRequest{
|
var req = HTTPRequest{
|
||||||
Timeout: 5 * time.Second,
|
Timeout: 20 * time.Second,
|
||||||
URL: "https://songwhip.com/",
|
URL: "https://songwhip.com/",
|
||||||
Method: "POST",
|
Method: "POST",
|
||||||
ResBody: swresp,
|
ResBody: swresp,
|
||||||
|
Loading…
Reference in New Issue
Block a user