mirror of
https://github.com/discourse/discourse.git
synced 2025-02-19 06:02:46 +08:00

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
|