projects
/
brackets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
24af1dd
)
Avoid fd limits by closing body immediately
author
Jacob Casper
<dev@jacobcasper.com>
Fri, 17 Apr 2020 16:00:12 +0000
(11:00 -0500)
committer
Jacob Casper
<dev@jacobcasper.com>
Fri, 17 Apr 2020 16:00:12 +0000
(11:00 -0500)
backend/scrape/graph/graph.go
patch
|
blob
|
blame
|
history
diff --git
a/backend/scrape/graph/graph.go
b/backend/scrape/graph/graph.go
index
cc1dc1e
..
d043209
100644
(file)
--- a/
backend/scrape/graph/graph.go
+++ b/
backend/scrape/graph/graph.go
@@
-62,6
+62,7
@@
SELECT EXISTS (
}
resp, err := http.PostForm("http://localhost:8080/artist/add", url.Values{"id": {string(artist.ID)}})
}
resp, err := http.PostForm("http://localhost:8080/artist/add", url.Values{"id": {string(artist.ID)}})
+ resp.Body.Close()
if err != nil {
log.Print(err)
success = false
if err != nil {
log.Print(err)
success = false