handle jobs with device key first

This commit is contained in:
Oliver Gorwits
2018-02-11 21:53:29 +00:00
parent e31cb803eb
commit bfc34049db

View File

@@ -37,7 +37,8 @@ __PACKAGE__->result_source_instance->view_definition(<<ENDSQL
ORDER BY job_priority DESC, ORDER BY job_priority DESC,
ds.deferrals ASC NULLS FIRST, ds.deferrals ASC NULLS FIRST,
ds.last_defer ASC NULLS LAST ds.last_defer ASC NULLS LAST,
device_key DESC NULLS LAST
LIMIT ? LIMIT ?
ENDSQL ENDSQL
); );