Skip to content

[1.x] [2.x] Queue does not restart when forum_logo is changed #4321

@imorland

Description

@imorland

Current Behavior

When using either a Redis or Horizon queue, changing the forum_logo does not apply to the queue (ie when the queue accesses the settings table, it still retrieves the old value.

This could be wider spread than just the logo value. Perhaps sending the queue restart signal after any settings change would be beneficial. It also shows that the old logo is not removed from the filesystem.

Steps to Reproduce

Change the logo
Observe the logo changes in the UI
Trigger a job that uses it
Notice the old logo is used
Notice the old logo is still present on disk

Expected Behavior

New logo is used

Screenshots

No response

Environment

  • Flarum version: x.y.z
  • Website URL: http://example.com
  • Webserver: [e.g. apache, nginx]
  • Hosting environment: [e.g. shared, vps]
  • PHP version: x.y.z
  • Browser: [e.g. chrome 67, safari 11]

Output of php flarum info

Output of "php flarum info", run this in terminal in your Flarum directory.

Possible Solution

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions