-
Notifications
You must be signed in to change notification settings - Fork 20
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
Make sync Tasks async #89
Conversation
cmd/request.go
Outdated
return | ||
} | ||
|
||
<-sem |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's the goal of this semaphore?
Signed-off-by: Yoan Blanc <yoan.blanc@exoscale.ch>
Signed-off-by: Yoan Blanc <yoan.blanc@exoscale.ch>
Signed-off-by: Yoan Blanc <yoan.blanc@exoscale.ch>
Signed-off-by: Pierre-Emmanuel Jacquier <pierre-emmanuel.jacquier@epitech.eu>
Signed-off-by: Pierre-Emmanuel Jacquier <pierre-emmanuel.jacquier@epitech.eu>
Signed-off-by: Pierre-Emmanuel Jacquier <pierre-emmanuel.jacquier@epitech.eu>
@pierre-emmanuelJ do you mind taking a look to have the elapsed time / done information? |
Do you think this information can be added in |
@pierre-emmanuelJ what's there basically. https://github.com/vbauerster/mpb/blob/master/examples/spinner/main.go |
Line 160 in 8a6e801
|
But sorry my reply was more about: do you think it's possible in egoscale or cloudstack to calculate "time left" for an async request. |
probably |
Signed-off-by: Yoan Blanc <yoan.blanc@exoscale.ch>
Signed-off-by: Yoan Blanc <yoan.blanc@exoscale.ch>
👍 |
Like
execTask()
function for async tasks but for sync tasksCan be better to doesn't display progresses bars
Fix #88