google-code-export / game-golem

Automatically exported from code.google.com/p/game-golem
0 stars 0 forks source link

Release workers loose focus even when continuing #318

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Do an action which is "interruptible" repeatedly, such as reviewing several 
monsters.
2. Watch golem review one monster, then drop priority to a lower task before 
reviewing the second monster.

What is the expected output? What do you see instead?
It's ok to interrupt UP for a higher priority action, but lower priority 
actions should not be able to interrupt if a worker still has things to do.

Please use labels and text to provide additional information.
It seems that the QUEUE_RELEASE is releasing too quickly, perhaps before the 
page parse is done to determine if it has more actions.

Original issue reported on code.google.com by 0Artifi...@gmail.com on 5 May 2011 at 7:43

GoogleCodeExporter commented 9 years ago

Original comment by 0Artifi...@gmail.com on 5 May 2011 at 7:43

GoogleCodeExporter commented 9 years ago
Seems to be related to Queue not being paused while things (ie Page.to) are 
happening - ie, watch it repeatedly try to load a page when the connection is 
slow.

I'm just clearing out Queue (putting all your LevelUp stuff into LevelUp 
itself, so Queue is "clean") then will try to work out what's going on.

Original comment by RycochetTM on 5 May 2011 at 1:04