bioinformatics-ua / dicoogle

Dicoogle - Open Source PACS
http://www.dicoogle.com/
GNU General Public License v3.0
444 stars 131 forks source link

Number of simultaneous tasks should be configurable (in config.xml) or some other place. #140

Open bastiao opened 8 years ago

Enet4 commented 8 years ago

What would happen if an operation attempts to pass that limit?

bastiao commented 8 years ago

https://github.com/bioinformatics-ua/dicoogle/blob/dev/dicoogle/src/main/java/pt/ua/dicoogle/taskManager/TaskManager.java#L39

That's what I want to be dynamic. To be honest, I think that a ThreadPool per type of tasks could also improve it.

bastiao commented 8 years ago

but the ones triggered by PluginController are not hard.

Enet4 commented 8 years ago

Yeah, I took back what I said a few minutes ago. In that case we have a rendez-vous point.