gerritjvv/glue — pull request #1 by MillerChristopherE (2012-11-28 04:30:27+00:00)
Title: Single workflow not allowed to fill the queue

Hi Gerrit, I made a change to glue to prevent the same workflow from filling the queue. I noticed that if things fall behind, the same workflows can fill dozens of queue entries and cause things to fall behind.

For example, if all the running workflows (executorMaxProcesses) end up hanging for 2 hours, and gluecron is trying to run several workflows every 5 minutes, the queue can blow up with hundreds of the same workflows. Then if another workflow needs to run, it has to wait hours or even days for the queue to deplete.
However, if a workflow can only occupy 1 queue slot, it will still run with the most recent data and won't cause other workflows to fall too far behind.

I had to update a few tests to get the tests to succeed.

Also, I removed glue-trigger and glue-test from the core pom because it had a version mismatch and I wasn't quite sure how it should be resolved.