Task #2485
Feature #2484: Resume ingestion automatically
Resume ingestion automatically on application startup.
Start date:
07/07/2022
Due date:
07/07/2022
% Done:
100%
Estimated time:
3.00 h
Description
Scheme for the ticket:
OnApplicationStartup: for(book : books): if('book' is in on-going state like 'In-progress', 'Updating', 'Completed/In-progress', 'Completed/Find-Comparable-Doc'): check last updated time of a 'book' for the ingestion i.e. X = (now - lastUpdatedTime) 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;Reference for running the application on startup: Reference for calling the method by some delay:
Updated by Venmuhilan B over 2 years ago
- Status changed from In Progress to Resolved
- % Done changed from 90 to 100
Updated by Venmuhilan B over 2 years ago
- Status changed from Resolved to Feedback
- Assignee changed from Venmuhilan B to Ayush Khandelwal
Updated by Ayush Khandelwal about 2 years ago
- Status changed from Feedback to Closed
Working as expected