#8592 prepend __task_ for special task params; use priority in reindex tasks

unreleased
review
nobody
None
General
nobody
8 hours ago
2 days ago
No

myfunc.post(.. and post_event take special params like delay but that would prevent the a normal delay parameter from being used.

So we should make it __task_delay. Same for flush_immediately, and adding priority as an option now too.

Then after that improvement, lets start using __task_priority in the reindex command, so they can run at a lower priority and not interfere with normal tasks.

Related

Commit: [3e3032]
Commit: [a3d877]
Commit: [f9031d]

Discussion

  • Dave Brondsema

    Dave Brondsema - 2 days ago
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -0,0 +1,5 @@
    +`myfunc.post(..` and `post_event` take special params like `delay` but that would prevent the a normal `delay` parameter from being used.
    +
    +So we should make it `__task_delay`.  Same for `flush_immediately`, and adding `priority` as an option now too.
    +
    +Then after that improvement, lets start using `__task_priority` in the reindex command, so they can run at a lower priority and not interfere with normal tasks.
    
     
  • Dave Brondsema

    Dave Brondsema - 8 hours ago
    • status: open --> review
     
  • Dave Brondsema

    Dave Brondsema - 8 hours ago

    db/8592

     

Log in to post a comment.