Deepomatic / deepomatic-client-python

Python Client
Other
14 stars 0 forks source link

Task wait should be customized between inference and network create tasks #83

Open thomas-riccardi opened 4 years ago

thomas-riccardi commented 4 years ago

Currently we have only one set of configuration for the Task.wait() polling, calibrated for inference tasks (fast polling, timeout after 60s). It's great for waiting inference tasks, but it's not optimal for waiting network creation tasks: we should poll much less frequently, and wait more than 60s (10min seems fair, even if a majority will finish before 60s).