Open cegento opened 6 months ago
Nothing is impossible :)
Since there is currently no way to parallel execution other than creating sub processes I'm not actively looking into it right now.
The idea would be to allow to change the default or configure it for every action separately.
"config": {
"run-async": true
}
"pre-commit": {
"enabled": true,
"actions": [
{
"action": "some command"
"options": {
"some": value
},
"config": {
"run-async": false
}
},
Pretty similar to how the go version of the Cap'n handles it.
As I said I'm not working on it right now. I don't think you should do things that take that long that parallel execution makes a difference anyway. But, that does not mean I would not be open to discuss the feature if somebody else want to look into it ;)
Is it possible to add a feature to be able to have parallel executions?
One Example: