diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-02-23 01:35:45 +0300 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-02-23 18:32:42 +0300 |
commit | 0beba0251ca5bfbbc0c1a60c5b0b44c972f252cd (patch) | |
tree | f65fee310ce0570a9c580cd3c2c5c37c5f07b24f /app/workers | |
parent | b3ff48c9a1d61b22ab4040ebcdc64eeeb797ad44 (diff) |
Manually correct autocorrect
Diffstat (limited to 'app/workers')
-rw-r--r-- | app/workers/prune_old_events_worker.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/workers/prune_old_events_worker.rb b/app/workers/prune_old_events_worker.rb index 2b43bb19ad1..cee05b42dd7 100644 --- a/app/workers/prune_old_events_worker.rb +++ b/app/workers/prune_old_events_worker.rb @@ -12,7 +12,7 @@ class PruneOldEventsWorker 'created_at < ?', (12.months + 1.day).ago) .select(:id) - .limit(10_000)) - .delete_all + .limit(10_000) + ).delete_all end end |