Skip to content

[Improvement]: Normalise all uses of priority #17875

Open
@NiklasBr

Description

@NiklasBr

Improvement description

There are multiple places in the code in pimcore/pimcore and other Pimcore repositories where priority (or a similar concept) is used. However, it is a both used slightly inconsistently and ambiguously.

For example, with redirects, a higher number for priority means more important and it will be processed earlier, but in other places a higher number means a later priority and it is not as important. With Cache, it's not clear.

Generally speaking, in computing a high priority has a lower number. This is because it of how it is used in normal speech, consider these expressions: "You are our number one priority" means someone is more important than "you are our number 98th priority".

First place in the queue is next in line after all. And this is reflected elsewhere in computing, for example:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions