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-sweepdeletes expired rows from the JWT blacklist. You can run it by hand, and the plugin schedules it everygolem15.user.jwt.blacklist_sweep_interval(10m by default). The scheduled run happens on the job worker:servewithwork_in_serve,queue:work, orschedule:run.
Changed
golem15.user.jwt.blacklist_sweep_interval: 0turns 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.