ok, got it, all tests pass. PR ready at 
https://github.com/web2py/web2py/pull/565

In the meantime, if you want to verify the "better assignment", all you 
have to do is applying this 
<https://github.com/web2py/web2py/pull/565/files#diff-1cbb9c488bb09b40aff4560078808c79R1091>
 
to the scheduler currently on master, i.e. on the assign_tasks function, 
add the green part.
        
        .......
        #build workers as dict of groups
        wkgroups = {}
        for w in all_workers:
            if w.worker_stats['status'] == 'RUNNING':
                continue
            group_names = w.group_names
        ......



@all: this is one of the best "bug report"/"feature request" discussion 
I've seen so far:
- User asking politely legitimate questions
- an app to reproduce the behaviour with examples
- user reporting "there's something wrong" with actual data at hand, 
without barking at the wrong tree

@PengfeiYu: it's been a real pleasure. See you

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to