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.
Actions