mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 08:43:43 +08:00
9db829134c
Previously was using the cookie_store, which is limited to 4kb. This caused issues for providers sending large volumes of metadata about a user.
13 lines
161 B
Ruby
13 lines
161 B
Ruby
module Jobs
|
|
|
|
class CleanUpAssociatedAccounts < Jobs::Scheduled
|
|
every 1.day
|
|
|
|
def execute(args)
|
|
UserAssociatedAccount.cleanup!
|
|
end
|
|
|
|
end
|
|
|
|
end
|