Skip to content

Commit

Permalink
sync-controller: allow source pods to shutdown gracefully
Browse files Browse the repository at this point in the history
sync-controller: set Xmx flag for java source pods
  • Loading branch information
absorbb committed Oct 25, 2024
1 parent 1ba160f commit 527fe72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sync-controller/job_runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ func (j *JobRunner) createPod(podName string, task TaskDescriptor, configuration
Command: []string{"sh", "-c", fmt.Sprintf("eval \"$AIRBYTE_ENTRYPOINT %s\" 2> /pipes/stderr > /pipes/stdout", command)},
Env: []v1.EnvVar{{Name: "USE_STREAM_CAPABLE_STATE", Value: "true"},
{Name: "AUTO_DETECT_SCHEMA", Value: "true"},
{Name: "JAVA_OPTS", Value: "-Xmx8192m"}},
{Name: "JAVA_OPTS", Value: "-Xmx7000m"}},

VolumeMounts: volumeMounts,
Resources: v1.ResourceRequirements{
Expand Down

0 comments on commit 527fe72

Please sign in to comment.