Made the concurrent ocr code more granular, per node, every node can handle different amounts of concurrent ocr tasks

This commit is contained in:
Roberto Rosario
2011-03-22 04:17:48 -04:00
parent d0942a203b
commit 3cb0f37b5b
6 changed files with 13 additions and 8 deletions

View File

@@ -51,6 +51,7 @@ def queue_document_list(request, queue_name='default'):
{'name':'submitted', 'attribute': lambda x: unicode(x.datetime_submitted).split('.')[0], 'keep_together':True},
{'name':'delay', 'attribute':'delay'},
{'name':'state', 'attribute': lambda x: x.get_state_display()},
{'name':'node', 'attribute':'node_name'},
{'name':'result', 'attribute':'result'},
],
'multi_select_as_buttons':True,