Feature #4617
Move threading control to the commands that use threads, add --threads option
Status: | Resolved | Start date: | 11/19/2013 | |
---|---|---|---|---|
Priority: | Medium | Due date: | 11/20/2013 | |
Assignee: | Stavros Sachtouris | % Done: | 100% |
|
Category: | kamaki | Spent time: | 2.00 hours | |
Target version: | v0.12 | Estimated time: | 2.00 hours |
Description
There are currenlty 3 out of ~80 commands that use threads:
server create (when run with clusters)
file upload
file download
Move thread control to the command code (kamaki/cli/commands) and add a --threads option to control it.
Default thread number is also set by each individual command, since each command has different needs
Related issues
Associated revisions
History
#1 Updated by Vangelis Koukis over 10 years ago
- Status changed from New to Assigned
Please ensure the default for threading is always 1.
The user should enable multithreading explicitly, should the need arise.
Also, please ensure Ctrl-C works instantly in all cases, whether or not --threads is used.
#2 Updated by Stavros Sachtouris over 10 years ago
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100