• Boxiang Sun's avatar
    CMFActivity: Use a random value for activity uids · 4500b04a
    Boxiang Sun authored
    Sequential number generators stored in a fixed-size format eventually run
    out of values. But activity queues only care about what activities are
    currently present: any uid can be reused as soon as it is available.
    So stop using a sequential id generator for activity uids, and instead use
    random values.
    
    Vincent Pelletier:
    - Commit message.
    - Minor formatting changes.
    - Do probability computations, and increase activity uid storage size to
      64bits integers, up from 32.
    - Apply to SQLJobLib too.
    4500b04a
SQLJoblib.py 6.43 KB