Bug #353
closed
Upload image can upload images with same names as other sessions
Added by Neil Voss over 14 years ago.
Updated over 14 years ago.
Description
Program should query the DB, and if name exists append session name to the front
- Status changed from Assigned to In Code Review
- Assignee changed from Neil Voss to Amber Herold
other modifications came with it. Hard to test if not uploading images.
- Assignee changed from Amber Herold to Neil Voss
Line 249: time.sleep(load) in Image loader, I very much dislike any call to sleep in any code unless it is absolutely necessary. My particular problem with this one is that it does not seem to enforce an upper bound to the amount of time that it could sleep.
Can you add an upper bound?
- Assignee changed from Neil Voss to Amber Herold
I added the upper bound in r13871. Probably not necessary, because if your load is larger than the number of processors, you have other problems you need to fix.
- Status changed from In Code Review to In Test
- Assignee changed from Amber Herold to Neil Voss
- Assignee changed from Neil Voss to Anchi Cheng
- Assignee changed from Anchi Cheng to Neil Voss
What am I testing exactly? Sleeping? loading images of the same name?
- Assignee changed from Neil Voss to Anchi Cheng
Sorry, if you upload images it should add the new session name to the front of the image.
- Target version set to Appion/Leginon 2.0.0
- Status changed from In Test to Closed
- % Done changed from 0 to 100
Also available in: Atom
PDF