• Adam Hegyi's avatar
    Schedule user status cleanup · 4264e9d8
    Adam Hegyi authored
    This MR implements scheduled user status cleanup.
    
    - Adding `clear_status_at` column to `user_statuses`
    - Add index to `clear_status_at` to easily query the statuses that needs
      cleanup
    - Add cronjob that looks for relevant records and invokes the cleanup
    4264e9d8
user_status.rb 904 Bytes