Open ctengel opened 3 years ago
we need prioritzation to work like so
pri up increases the 3&4 bits (none=>C=>B=>A) but does not change the others
pri down zeroes out 7-5, 3-0
stop using wakeup as a way to prioritize
ensure it is available from API - probably is!
For now implement in client library
Problem: above description shows priority with 0 as lowest and 255 as highest (descending), but API currently has it implemented ascending
Currently it is not used anywhere - it had been in legacy, but not in current.
Currently it is again ascending (i.e. lower integers are highest priority)
Other curveball - sqlite considers null to be LOW, whilst postgres considers null to be HIGH
Default is Null and I think we would want default to be low. We can work around by explicitly asking NULLSLAST or setting default=0
The simple answer for now - modify the api to do desc and rely on sqlite, with more explicit if/when we move to postgres
(note FROG is considered more important than PRI, but not much else)
Still needed
Related to #55 ?