Actions
Feature #594
openSupport more than 26 sessions in a day
Status:
Assigned
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
05/28/2010
Due date:
% Done:
0%
Estimated time:
Description
So, we assign session names like this:
$prefix = strtolower(date('yMd')); // Leginon appends a letter starting with 'a' and appion starts with 'z' as shown here to avoid conflicts. for ($i=90; $i>=65; $i--) { $letter = strtolower(chr($i)); $sessionname = $prefix.$letter;
When the letters of the alphabet are used up, there are no more names for sessions...not sure what happens in that case, did not look that far down the code.
It would be better to come up with a different way of assigning the names, such as having both apps drawing from a preset pool of names, perhaps listed in the DB.
Updated by Neil Voss over 14 years ago
- Target version set to Appion/Leginon 2.1.0
Updated by Neil Voss over 14 years ago
- Status changed from New to Assigned
- Assignee set to Anchi Cheng
Updated by Amber Herold over 14 years ago
- Target version changed from Appion/Leginon 2.1.0 to Appion/Leginon 2.2.0
Updated by Amber Herold about 14 years ago
- Target version changed from Appion/Leginon 2.2.0 to Appion/Leginon Future Version
Actions