Commit 1a360a4e authored by kaniini's avatar kaniini

compact database task: fix formatting

parent ef564883
......@@ -39,9 +39,9 @@ defmodule Mix.Tasks.CompactDatabase 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment