Skip to content

Commit

Permalink
Fix timeout for the apis and set the default to 5 hours (#240)
Browse files Browse the repository at this point in the history
- Fix timeout for the apis and set the default to 5 hours
  • Loading branch information
cjlapao authored Nov 13, 2024
1 parent 7468d0c commit efd19cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/orchestrator/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const (

func (s *OrchestratorService) getApiClient(request models.OrchestratorHost) *apiclient.HttpClientService {
apiClient := apiclient.NewHttpClient(s.ctx)

apiClient.WithHeader("X-SOURCE", "ORCHESTRATOR_REQUEST")
apiClient.WithHeader("X-LOGGING", "IGNORE")
apiClient.WithHeader("X-SOURCE-ID", "ORCHESTRATOR_REQUEST")
Expand Down

0 comments on commit efd19cd

Please sign in to comment.