Use finished_at as last successful sync time

parent 578a17a7
...@@ -127,7 +127,7 @@ module Geo ...@@ -127,7 +127,7 @@ module Geo
registry.public_send("last_#{type}_synced_at=", started_at) registry.public_send("last_#{type}_synced_at=", started_at)
if finished_at if finished_at
registry.public_send("last_#{type}_successful_sync_at=", started_at) registry.public_send("last_#{type}_successful_sync_at=", finished_at)
registry.public_send("resync_#{type}=", false) registry.public_send("resync_#{type}=", false)
end end
......
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