Increase timout to 20 seconds

This commit is contained in:
Aaron Bieber 2022-11-04 10:05:00 -06:00
parent 8f5785a591
commit ccf6054d49
No known key found for this signature in database

View File

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