← All plugin changes

sm-user-plugin 0.1.21

v0.1.211 min readPlugins

Highlights

The JWT blacklist sweep no longer runs as a background goroutine in every process that boots the user plugin. It is now a console command that the job scheduler runs, so console commands and test boots no longer each start a sweep that never stops.

Added

  • user:jwt-blacklist-sweep deletes expired rows from the JWT blacklist. You can run it by hand, and the plugin schedules it every golem15.user.jwt.blacklist_sweep_interval (10m by default). The scheduled run happens on the job worker: serve with work_in_serve, queue:work, or schedule:run.

Changed

  • golem15.user.jwt.blacklist_sweep_interval: 0 turns the scheduled sweep off.
  • An interval the scheduler cannot run now fails boot with an error naming the key. That covers a value that doesn't parse, a negative value, anything under 1s, and anything that doesn't divide 24h evenly. Before, such a value quietly turned the sweep off. The default is unchanged.

Fixed

  • The user mail layout now matches the framework's default mail layout.
Subscribe via RSS