Make priorities configurable
Make time priority logarithmic