Add heartbeat to import jobs to avoid timeout if the job is still working
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=19798) </details> <!--IssueSummary end--> From https://gitlab.com/gitlab-org/gitlab-ce/issues/38771#note_42521952 > Right now mirror/fork/import jobs that have been running for more than 15 hours are marked as stuck due to time out > - This is not always the case since a import job can potentially take more than that to process > - @DouweM proposed that we could send, inside the worker, a heartbeat periodically os that the worker does not timeout while we are processing information.
issue