Skip to content

WISH: Polling frequency #7

@HenrikBengtsson

Description

@HenrikBengtsson

Background

Currently, the package uses batchtools::waitForJobs() every second (getOption("future.wait.delay", 1.0)) to poll the scheduler to see when jobs are finished. Polling the scheduler to check when jobs are ready can but a heavy burden on the scheduler if there are lots of simultaneous requests.

Suggestion

The future.BatchJobs package had a similar approach, but it slowly increased the waiting time between each poll such that for very long running jobs we didn't keep checking every minute. This should be implemented in future.batchjobs too. This requires to implement our own batchtools::waitForJobs() version (or fix it upstream).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions