Skip to content

Commit

Permalink
save pre merge
Browse files Browse the repository at this point in the history
  • Loading branch information
sa1omon committed Jun 13, 2019
1 parent 7b7fd21 commit 7ee61c4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion adapters/gamoshi/gamoshi.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,11 @@ func (a *GamoshiAdapter) MakeRequests(request *openrtb.BidRequest) ([]*adapters.
addHeaderIfNonEmpty(headers, "DNT", strconv.Itoa(int(*request.Device.DNT)))
}
}

fmt.Printf("%s", thisURI)
fmt.Println("")
fmt.Printf("%s", reqJSON)
fmt.Println("")
fmt.Printf("%s", headers)
return []*adapters.RequestData{{
Method: "POST",
Uri: thisURI,
Expand Down
3 changes: 2 additions & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,8 @@ func SetupViper(v *viper.Viper, filename string) {
v.SetDefault("stored_requests.postgres.poll_for_updates.timeout_ms", 0)
v.SetDefault("stored_requests.postgres.poll_for_updates.query", "")
v.SetDefault("stored_requests.postgres.poll_for_updates.amp_query", "")
v.SetDefault("stored_requests.http.endpoint", "")
v.SetDefault("stored_requests.http.endpoint", "http://localhost:3023/stored_request")
v.SetDefault("stored_requests.http", true)
v.SetDefault("stored_requests.http.amp_endpoint", "")
v.SetDefault("stored_requests.in_memory_cache.type", "none")
v.SetDefault("stored_requests.in_memory_cache.ttl_seconds", 0)
Expand Down

0 comments on commit 7ee61c4

Please sign in to comment.