Skip to content

Commit

Permalink
Keep idle client
Browse files Browse the repository at this point in the history
  • Loading branch information
Wikidepia committed Jul 16, 2024
1 parent e9794c5 commit 55374b6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion handlers/scraper/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ func GetData(postID string) (*InstaData, error) {

func (i *InstaData) ScrapeData() error {
client := http.Client{Timeout: timeout}
defer client.CloseIdleConnections()

// Scrape from remote scraper if available
if len(RemoteScraperAddr) > 0 {
Expand Down

0 comments on commit 55374b6

Please sign in to comment.