Skip to content

Commit

Permalink
Increasing JobDetailsService request timeoufrom 10 to 15, since the i…
Browse files Browse the repository at this point in the history
…nitial job detail registration request will initialize the job details metadata index, which takes some time (#346)

Signed-off-by: Joshua Palis <[email protected]>
  • Loading branch information
joshpalis authored Mar 23, 2023
1 parent 4649c3d commit 00bd2d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public class JobDetailsService implements IndexingOperationListener {
public static final String JOB_DETAILS_INDEX_NAME = ".opensearch-job-scheduler-job-details";
private static final String PLUGINS_JOB_DETAILS_MAPPING_FILE = "/mappings/opensearch_job_scheduler_job_details.json";

public static Long TIME_OUT_FOR_REQUEST = 10L;
public static Long TIME_OUT_FOR_REQUEST = 15L;
private final Client client;
private final ClusterService clusterService;
private Set<String> indicesToListen;
Expand Down

0 comments on commit 00bd2d4

Please sign in to comment.