compact database task: fix formatting

This commit is contained in:
William Pitcock 2018-12-01 22:17:28 +00:00
parent ef56488349
commit 1a360a4eaa
1 changed files with 2 additions and 2 deletions

View File

@ -39,9 +39,9 @@ def run(args) do
max = Repo.aggregate(Activity, :max, :id)
Logger.info("Considering #{max} activities")
chunks = 0..(round(max / 100))
chunks = 0..round(max / 100)
Enum.each(chunks, fn (i) ->
Enum.each(chunks, fn i ->
min = i * 100
max = min + 100