Details
Description
Add timeout preferences for this.
(int) IMPORT_JOB_LOG_SIZE = (default is 10000 chars)
(long) IMPORT_JOB_TIMEOUT_MS = (default is 60000 = 1m)
(long) SYSTEM_BACKDOOR_TIMEOUT_MS = (default is 300000 = 5m)
(long) SYSTEM_BACKDOOR_PRODUCT_BULK_INDEX_TIMEOUT_MS = (default is 60000 = 1m)
(long) SYSTEM_BACKDOOR_PRODUCT_SINGLE_INDEX_TIMEOUT_MS = (default is 60000 = 1m)
(long) SYSTEM_BACKDOOR_SQL_TIMEOUT_MS = (default is 60000 = 1m)
(long) SYSTEM_BACKDOOR_CACHE_TIMEOUT_MS = (default is 60000 = 1m)
(long) SYSTEM_BACKDOOR_IMAGE_TIMEOUT_MS = (default is 60000 = 1m)
This would require review of all places where RemoteBackdoorServiceImpl and AsyncContext classes are used.
Also need to add timeout for indexing job and imports jobs as well. - NOT NEEDED anymore as we re-factored the indexing job.