Feature #2484
Resume ingestion automatically
100%
Description
Today, if the instance dies while ingestion is ongoing, the resume button is activated. Using the same logic that detects when to activate the resume button, automatically resume the ingestion.
Subtasks
Updated by Anonymous almost 3 years ago
- Due date set to 07/07/2022
- Assignee changed from Anonymous to Anonymous
- Estimated time set to 3.00 h
Updated by Anonymous almost 3 years ago
Scheme:
OnApplicationStartup:
for(book : books):
if('book' is in on-going state like resume button):
check last updated time of a 'book' for the ingestion book i.e. X minutes
if(isResumeAllowed(X)):
resume the ingestion for a 'book'
isResumeAllowed(X):
waiting_allow_time = 10 minutes
if(X - waiting_allow_time < 0):
sleep the thread for (waiting_allow_time-X) minutes
return true;
Updated by Anonymous almost 3 years ago
Scheme:
OnApplicationStartup:
for(book : books):
if('book' is in on-going state like resume button):
check last updated time of a 'book' for the ingestion book i.e. X minutes
if(isResumeAllowed(X)):resume the ingestion for a 'book'
isResumeAllowed(X):
waiting_allow_time = 10 minutes
if(X - waiting_allow_time < 0):sleep the thread for (waiting_allow_time-X) minutes
return true;
Updated by Anonymous over 2 years ago
- Status changed from Resolved to Feedback
- Assignee changed from Anonymous to Anonymous
Updated by Anonymous over 2 years ago
- Assignee changed from Anonymous to Ram Kordale
Working as expected