Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

on timeout decorator for gee #883

Open
dfguerrerom opened this issue Sep 18, 2023 · 0 comments
Open

on timeout decorator for gee #883

dfguerrerom opened this issue Sep 18, 2023 · 0 comments
Labels
needs discussion needs discussion

Comments

@dfguerrerom
Copy link
Collaborator

I thought about this idea some time ago but I forgot to post it here to remind me and discuss it, the idea is just as simple as creating a decorator that wraps a GEE .getInfo() process and if it fails due to a timeout or if it runs for a certain amount of time, it will rerun the process but as a task in the background.

It will require a task to wrap, and optionally an alert to alert users that the tasks have been sent to the background, and if not provided, it will return a message saying so, @12rambau what do you think? do you see it useful?

@dfguerrerom dfguerrerom added the needs discussion needs discussion label Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs discussion needs discussion
Projects
Status: To do
Development

No branches or pull requests

1 participant